mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2011-12-05, 00:41   #1
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

55116 Posts
Default Linux slower then Windows ( both 64 bit)

I ask on many forums, get some or no answers, so I find this forums, so lets try.
I am on PRPNet now.
I try nearly all Linux distros, make custom rom, make smaller rom, use all kernel optimization I can get but always windows version of program is faster then same Linux version. Since I try on same computer ( two different hard discs) hardware is not issue. Also I have no GUI on Linux, to be less memory hungry, but still is slower.
For example:
windows
ppsLow server WU is finished from 79-80 second less then 1 sec
linux - same WU 79-90 second.
Since you are guys that write this software are here, I ask you, what is reason?
Second I noticed that on PPSLow there is no difference in time per WU, but in SGS there is big difference if I run one or four clinets ( since I have quad core)
Difference is on processor that have no L3 cache. On processor that have L3 cache there is no difference ( one or all cores).
Thanks for any reply
pepi37 is online now   Reply With Quote
Old 2011-12-10, 16:33   #2
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

136110 Posts
Default

100 views and still no answers? :(
pepi37 is online now   Reply With Quote
Old 2011-12-10, 19:57   #3
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

100011110111102 Posts
Default

There's just a few users on the forum who don't subscribe to the conventional social contract ("if you can't say something nice don't say anything at all"). So, yeah, 100+ viewers apparently were interested by the intriguing title (Hey, "Linux is slower than Windows"? let's see...), came, found the problem poorly stated and couldn't be bother enough to try to understand what you were trying to say.

You can start helping people help you by explaining what CPUs were you talking about (you refer to those that have and those that don't have L3 cache). What distros were you referring to (different distros pack different libs and the root of you problem may be in them), etc etc.

Plus, you haven't picked the most lively subforum. Things can flow slow in "Extra Stuff" (unless of course they are about women, GW, economy or hoaxes).
Batalov is offline   Reply With Quote
Old 2011-12-10, 21:43   #4
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by pepi37 View Post
I ask on many forums, get some or no answers, so I find this forums, so lets try.
I am on PRPNet now.
I try nearly all Linux distros, make custom rom, make smaller rom, use all kernel optimization I can get but always windows version of program is faster then same Linux version. Since I try on same computer ( two different hard discs) hardware is not issue. Also I have no GUI on Linux, to be less memory hungry, but still is slower.
For example:
windows
ppsLow server WU is finished from 79-80 second less then 1 sec
linux - same WU 79-90 second.
Since you are guys that write this software are here, I ask you, what is reason?
Second I noticed that on PPSLow there is no difference in time per WU, but in SGS there is big difference if I run one or four clinets ( since I have quad core)
Difference is on processor that have no L3 cache. On processor that have L3 cache there is no difference ( one or all cores).
Thanks for any reply
if it involves reading from hard drives it could be the difference between the hard drives I would think ( I'm not a good person around these things though, so I'm not 100%) , if there's a difference between the kernels could that not lead to a difference in time, also the different OSes may need different coding and some may take longer.

Quote:
windows
ppsLow server WU is finished from 79-80 second less then 1 sec
linux - same WU 79-90 second.
doesn't make sense to me 79-80 second less then 1 sec. so negative 79 to negative 78 seconds ?

Last fiddled with by science_man_88 on 2011-12-10 at 21:44
science_man_88 is offline   Reply With Quote
Old 2011-12-10, 22:38   #5
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

23·3·7·17 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
I'm not a good person around these things though, so I'm not 100%
So why you're answering here? Sometimes it's wiser to say nothing at all instead of speculating which do not help.
kar_bon is online now   Reply With Quote
Old 2011-12-12, 11:42   #6
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

1,361 Posts
Default

Quote:
Originally Posted by Batalov View Post
...

You can start helping people help you by explaining what CPUs were you talking about (you refer to those that have and those that don't have L3 cache). What distros were you referring to (different distros pack different libs and the root of you problem may be in them), etc etc.

.
As you can see I wrote "I try nearly all Linux distros, make custom rom, make smaller rom, use all kernel optimization I can get but always windows version of program is faster then same Linux version"
So that is general Linux problem...
My CPU is also irrelevant since I use same comp for Linux and Windows, two different hard disc.
Linux applications wont be slower because slower hard disc, since amount of data is really small, maybe 10 kb. Problem is always not well optimized application for Linux, and very well optimized app for Windows.
pepi37 is online now   Reply With Quote
Old 2011-12-12, 11:45   #7
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

1,361 Posts
Default

Quote:
Originally Posted by science_man_88 View Post

doesn't make sense to me 79-80 second less then 1 sec. so negative 79 to negative 78 seconds ?
To explain: on windows there is range: some WU are done in 79, some in 80 second, so there is only 1 second difference.

On the other hand: time per WU for Linux are in range of 79-90 seconds, so that is considerably slower then Windows. (most times are 86 seconds)

Last fiddled with by pepi37 on 2011-12-12 at 11:45
pepi37 is online now   Reply With Quote
Old 2011-12-12, 12:22   #8
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

1101101100012 Posts
Default

Could it be that Linux is using more power and consequently is heating up your processor?

Maybe you should clean out the dust from your processor's heat sink and fan.

(I presume everything is 64 bits -- the OS and Prime95.exe/mprime applications)

paulunderwood is offline   Reply With Quote
Old 2011-12-12, 13:36   #9
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

1,361 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
Could it be that Linux is using more power and consequently is heating up your processor?

Maybe you should clean out the dust from your processor's heat sink and fan.

(I presume everything is 64 bits -- the OS and Prime95.exe/mprime applications)

No, dust and heat are not problems..
And again: not are applications are 64 bits.
I find that in Windows 64 bit OS faster applications are 32 bit, but in Linux that is not case. In Linux all must be 64 bit to get fastest time.
And since some applications are not written in 64 bit, I must use what I have :)
pepi37 is online now   Reply With Quote
Old 2011-12-12, 14:00   #10
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

350510 Posts
Default

Open a terminal and run "top" to see what processes are using when you are getting the variable times. To quit top press "q".
paulunderwood is offline   Reply With Quote
Old 2011-12-12, 14:28   #11
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

136110 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
Open a terminal and run "top" to see what processes are using when you are getting the variable times. To quit top press "q".
Since I have quad, it shows 4 same named processes, with cpu from 99-100 %
pepi37 is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switch from Windows to Linux Svenie25 Software 2 2013-12-18 11:23
Okay to switch between windows and linux? Unregistered Information & Answers 1 2011-06-09 02:28
Linux is faster than Windows? ShiningArcanine Software 15 2008-03-04 15:27
going from linux to windows nbv4 Software 1 2006-04-04 02:04
Linux that can run Windows programs ThomRuley Linux 9 2004-05-09 03:21

All times are UTC. The time now is 08:28.

Thu Dec 3 08:28:37 UTC 2020 up 4:39, 0 users, load averages: 0.81, 0.94, 0.97

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.