Forum     

Go Back   Digit Technology Discussion Forum > Hardware > CPU / Motherboards
Register FAQ Calendar Mark Forums Read

CPU / Motherboards News, discussions, queries and problems related to CPUs and motherboards. Section Thread Index


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 21-02-2008, 04:10 PM   #1 (permalink)
In The Zone
 
tweety_bird_bunny's Avatar
 
Join Date: Oct 2003
Posts: 211
Unhappy prgrm runs slower on 2.66ghz as compared to 1.5ghz !!!???


i made a prgrm in c to find prime no till given no...
i recorded the time taken to find pr no till 1crore, using a stop watch

now on my laptop wid 1.5ghz centrino processor (504mb ram) time taken is =9.5 sec

but on my pc wid 2.66ghz p4 processor(496mb ram) , it takes 13 sec to do the same...

y is dis hapening, shudnt it take less time on 2.66 ghz processorr...
help me
tweety_bird_bunny is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 18-03-2008, 05:56 PM   #2 (permalink)
Right Off the Assembly Line
 
Join Date: Mar 2008
Posts: 2
Smile Re: prgrm runs slower on 2.66ghz as compared to 1.5ghz !!!???

hi..
even though u are using a faster processor does not necessarily mean that yr program might run faster. the reason for this can be attributed to the many other programs that were runnin on yr system at the time u tested it out.
The amount of multitasking, leads to time slots alloted to various programs according to a round robin multi level scheduling policy.
what that means is cpu time given to yr program becomes lesser.. leading to slower execution.
i hope i answered yr question.
lokesh_agarwal1986 is offline  
Old 18-03-2008, 06:17 PM   #3 (permalink)
Wise Old Owl
 
The Unknown's Avatar
 
Join Date: Nov 2006
Location: Pune, Maharashtra, India
Posts: 1,728
Default Re: prgrm runs slower on 2.66ghz as compared to 1.5ghz !!!???

Quote:
Originally Posted by lokesh_agarwal1986 View Post
hi..
even though u are using a faster processor does not necessarily mean that yr program might run faster. the reason for this can be attributed to the many other programs that were runnin on yr system at the time u tested it out.
The amount of multitasking, leads to time slots alloted to various programs according to a round robin multi level scheduling policy.
what that means is cpu time given to yr program becomes lesser.. leading to slower execution.
i hope i answered yr question.
+1
__________________
KDE on ArchLinux
PHP, MySQL, PostgreSQL, Linux, Apache; Message me to hire (freelancing only)
Explore Technology @ http://www.itech7.com
Cheap and Reliable VPS Hosting @ http://j.mp/arHk5e
The Unknown is offline  
Old 18-03-2008, 09:39 PM   #4 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,173
Default Re: prgrm runs slower on 2.66ghz as compared to 1.5ghz !!!???

Quote:
Originally Posted by tweety_bird_bunny View Post
i made a prgrm in c to find prime no till given no...
i recorded the time taken to find pr no till 1crore, using a stop watch

now on my laptop wid 1.5ghz centrino processor (504mb ram) time taken is =9.5 sec

but on my pc wid 2.66ghz p4 processor(496mb ram) , it takes 13 sec to do the same...

y is dis hapening, shudnt it take less time on 2.66 ghz processorr...
help me
Quote:
Originally Posted by lokesh_agarwal1986 View Post
hi..
even though u are using a faster processor does not necessarily mean that yr program might run faster. the reason for this can be attributed to the many other programs that were runnin on yr system at the time u tested it out.
The amount of multitasking, leads to time slots alloted to various programs according to a round robin multi level scheduling policy.
what that means is cpu time given to yr program becomes lesser.. leading to slower execution.
i hope i answered yr question.
+1

The second thing is that the Centrino platform (with Pentium M/ CD/ C2D proc.) has a better IPC rate and shorter pipelines than the P4 and hence is a better proc. More speed doesn't necessarily translate into better performance.
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Old 20-03-2008, 04:16 PM   #5 (permalink)
ax3
Cool as a CUCUMBAR ! ! !
 
ax3's Avatar
 
Join Date: Dec 2003
Posts: 5,052
Default Re: prgrm runs slower on 2.66ghz as compared to 1.5ghz !!!???

try testing it out again with cutting out others softies ......
__________________
... W H O T ...
ax3 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
My new system is running slower compared to my previous system! instinct Hardware Q&A 12 13-10-2006 12:57 AM
which motherboard with p42.66ghz tweety_bird_bunny CPU / Motherboards 3 16-06-2006 12:19 AM
PC runs slower than Snail bholu QnA (read only) 17 31-12-2005 11:40 PM

 
Latest Threads
- by kool
- by Tenida
- by Jripper
- by kool

Advertisement




All times are GMT +5.5. The time now is 11:05 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2