mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2004-12-04, 11:14   #1
Carlo Monari
 
May 2004
Italy

2·5 Posts
Default monitoring a Linux version

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?
Carlo Monari is offline   Reply With Quote
Old 2004-12-04, 11:42   #2
patrik
 
patrik's Avatar
 
"Patrik Johansson"
Aug 2002
Uppsala, Sweden

52×17 Posts
Default

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 &
patrik is offline   Reply With Quote
Old 2004-12-09, 12:20   #3
Carlo Monari
 
May 2004
Italy

2·5 Posts
Default

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 ?
Carlo Monari is offline   Reply With Quote
Old 2004-12-09, 17:11   #4
Carlo Monari
 
May 2004
Italy

2×5 Posts
Default

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?
Carlo Monari is offline   Reply With Quote
Old 2004-12-11, 17:26   #5
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13·89 Posts
Default

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.
geoff is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
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

All times are UTC. The time now is 18:50.


Mon Aug 8 18:50:07 UTC 2022 up 32 days, 13:37, 1 user, load averages: 1.02, 1.26, 1.29

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔