![]() |
![]() |
#1 |
May 2004
Italy
10102 Posts |
![]()
Recently I had to install Fedora on a dual Xeon system on which I was running two instances of prime 95. So I downloaded mprime239, and after having copied on the new system disk the files of the old prime95 directory, I issued the command ./mprime -B2. I can see that the two cpus are working, but how can I monitor the work progress? Is there anything like the red icon to open a window with intermediate results?
|
![]() |
![]() |
![]() |
#2 |
"Patrik Johansson"
Aug 2002
Uppsala, Sweden
1A916 Posts |
![]()
You could use -d to get detailed output. But I think that -B overrides that, so you would have to start two copies using -A1 on the second:
./mprime -d & ./mprime -A1 -d & You could also log this to files ./mprime -d >> log.txt & ./mprime -A1 -d >> log1.txt & |
![]() |
![]() |
![]() |
#3 |
May 2004
Italy
2·5 Posts |
![]()
Thanks; the information is in the readme file too, but I missed it. Maybe beeing a total novice with Linux made me unable to read too...
Anyway, another thing that I don't find is a way to nail each copy to only one CPU (the affinity flag in the adwanced menu in the windows version). Is there anything that I missed ? |
![]() |
![]() |
![]() |
#4 |
May 2004
Italy
2×5 Posts |
![]()
Now that I can see what's happening, I am quite disappointed: the iteration time is almost double that the one I had when running prime95 under Windows.
Running under windows, I observed that not setting the affinity, or setting it to wrong values, could affect heavily the performance; the iteration times I am observing now are similiar to those I observed setting the affinities of both copies to the same CPU. Suggestions? |
![]() |
![]() |
![]() |
#5 |
Mar 2003
New Zealand
13×89 Posts |
![]()
If you use kernel 2.6 then the process schedular usually does a good job of handling process affinity, but if you want to force a process to be affine to one CPU then you can use the taskset command. On my system (Debian) this is not in the standard installation, it is part of the schedutils package. I don't know about Fedora.
If you use kernel 2.4 then I think you need a patch to be able to set process affinity. Better to upgrade to kernel 2.6. |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Monitoring software on Linux, i-Nex ('CPU-Z'), Psensor, top | VictordeHolland | Linux | 4 | 2017-03-25 17:15 |
compiling a static Linux gmp-ecm version | yoyo | GMP-ECM | 9 | 2016-12-25 22:46 |
running linux version | Unregistered | Information & Answers | 1 | 2007-09-08 17:59 |
Linux - what version to use, where doI get it | rx7350 | Software | 19 | 2006-03-17 08:18 |
Little shellscript for monitoring mprime under linux | Matthes | Lounge | 2 | 2003-07-11 01:13 |