Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Calculations for processor requirement
Old 11-30-2009, 11:54 PM Calculations for processor requirement
Junior Talker

Posts: 1
Trades: 0
I have a system which gets requests at 25 transactions per second. On receiving a request, the system does a lookup in its database (which consists of 100,000 entries) to get the required information.
A request comes ever 1/25 seconds and for each request log2(100,000) entries in the db are looked up. Therefore in each second 25* log2(100,000) = (415) entries are looked up/compared.
I want to find out: what kind of a processor do I need to support this speed. I want to know how to perform the calculations? Say in case of X records in db and Y TPS..i would need a 3Ghz quad core processor .
Could you please help? I am not sure how'd I go about doing this.
mynameiskg is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-01-2009, 04:28 AM Re: Calculations for processor requirement
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Right, as if the CPU load could be figured out from the (lack of) information given!!!!


What DB Server?
What type of structure?
What storage engine?

plus a dozen other things that will have a bearing on the CPU requirements.

and oddly enough the request rate is NOT really one of them.

The database recovery speed is what will affect or be affected by the request volume.

and provided the structure and indexes are well designed 25 requests per second is nothing.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-10-2009, 09:57 PM Re: Calculations for processor requirement
Extreme Talker

Posts: 206
Name: vikas
Trades: 0
Well I think most of the modern processor would do it .. and 3GHz processor is suffficient to perform wat ever I understand from your post
__________________

Please login or register to view this content. Registration is FREE
Collection of free online books and free ebooks
Please login or register to view this content. Registration is FREE
- Free online pdf books and free pdf eBooks
vikas1234 is offline
Reply With Quote
View Public Profile
 
Old 12-11-2009, 09:37 AM Re: Calculations for processor requirement
Banned

Posts: 1
Name: dsafds
Trades: 0
I think most of the modern processor would do it .. and 3GHz processor is suffficient to perform wat ever I understand from your post
desnklli is offline
Reply With Quote
View Public Profile
 
Old 12-11-2009, 10:57 AM Re: Calculations for processor requirement
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Heck, on a correctly designed db, even an old p4 1Ghz should be enough.
No need for a monster for that kind of requirements...
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 12-11-2009, 11:10 AM Re: Calculations for processor requirement
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Ah! the copy and paste sig spammers are getting really lazy now, at one time they would at least scroll up the page a little.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-12-2009, 02:28 PM Re: Calculations for processor requirement
Experienced Talker

Posts: 30
Trades: 0
hahah Chris you must have alot fun patrolling on here. I don't even understand why they do that
__________________
My
Please login or register to view this content. Registration is FREE
club website. Just random blogging, tips, and video service.
EricRW is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Calculations for processor requirement
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.83705 seconds with 12 queries