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.
Re: prgrm runs slower on 2.66ghz as compared to 1.5ghz !!!???
Quote:
Originally Posted by lokesh_agarwal1986
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
Re: prgrm runs slower on 2.66ghz as compared to 1.5ghz !!!???
Quote:
Originally Posted by tweety_bird_bunny
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
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."