RC5 Windows vs Linux

Status
Not open for further replies.

Dyyryath

Ars Scholae Palatinae
1,346
My development box is a 1ghz AMD T-Bird with 512mb RAM. I run Mandrake 7.2 as my primary O/S for working/everyday use and Windows 98 on a different drive for playing games.

Now, the interesting part...I've noticed since I started using a personal proxy for some of my home machines that my development box is significantly faster under Linux than Windows.

Under Linux, it averages 3.2 - 3.5 Mkeys/sec.

Under Windows, it only does 2.5 - 2.8 Mkeys/sec.

It's pretty clear by looking here.

I was running Windows 98 from the 1st to the late last night. My keyrate dipped significantly. When I switched back to Linux this morning, it climbed almost immediately.

It's nice to see a distributed computing client that actually likes Linux better for a change!

Dyyryath
 

Dyyryath

Ars Scholae Palatinae
1,346
Actually, according to the built-in benchmark, the Windows version is just a tad faster:

Linux - 3,497,438.921 Key/Sec
Windows - 3,570,365.87 Key/Sec

However, in actual use over the course of a week, the same system did more actual keys/sec under Linux than Windows. This could be due to a variety of factors:

1) The usage for other things was higher under Windows than Linux. This is possible, but actually probably backwards. One of the reasons it got left running Windows is because I wasn't doing any work on it for several days.

2) Linux could be more efficient as an O/S consuming less cycles for mundane background stuff than Windows. This would allow the client to run a larger percentage of the time.

3) Possibly a variation in the blocks themselves? This seems unlikely, but I don't know enough about the WUs to make any determination about this.

To rule out possibility #1 I'm going to do a test over this weekend. I'm going to run the system exactly 24 hours uninterrupted under both Linux and Windows and see what kind of performance difference there is in actual blocks processed.

I'll let ya know how it turns out... ;)

Dyyryath
 

rockeye

Ars Scholae Palatinae
1,206
Running "Linux"? Were you running background processes? Servers? Were you in X, or at a command line?

Are you using a proxy? If you had an intermittant connection to d.net, that might account for some of the difference. Time spent trying to connect is time not spent cracking. If you're trying after every block w/a 60sec timeout, that could be quite significant. So if the connection happened to improve while you were running Linux, that could account for the differences.

FWIW, I haven't noticed any speed differences between Win9x, Win2k and Linux on the same machine. My C366 is running along at about 850kkey/s independant of OS.
 

Dyyryath

Ars Scholae Palatinae
1,346
I run Mandrake's 7.2 distro with X 4.0.1 on this box. The kernel is based on the 2.4.1 source but recompiled specifically for my system with a few extra hacks by me for specific things. None of my changes should affect the RC5 client. I do have quite a number of daemons running in the background for network services (SNMP, HTTPD, SMB, SSHD, etc).

Work units are fed to this box by a personal proxy on my local network, which is entirely switched 100mb. Time spent retrieving WUs from the proxy shouldn't vary enough to be a factor.

As for Windows, it's 98SE with nothing extra really installed.

Dyyryath
 
Status
Not open for further replies.