mersenneforum.org  

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

Reply
 
Thread Tools
Old 2012-11-13, 01:10   #1
Kyle
 
Nov 2012

1810 Posts
Cool AMD64 on Solaris

Hi guys,
Since we found out that Linux isn't using the AMD processors and the shared memory efficiently on the machines I use to make P-1, I consider switching to OpenSolaris 11.1.
Does anyone know, how I could make my P-1 on OpenSolaris?
Kyle is offline   Reply With Quote
Old 2012-11-17, 10:33   #2
debrouxl
 
debrouxl's Avatar
 
Sep 2009

22·5·72 Posts
Default

What models of AMD processor, chipset and memory sticks ?
debrouxl is offline   Reply With Quote
Old 2012-11-20, 11:01   #3
Kyle
 
Nov 2012

100102 Posts
Default

4x AMD Opteron 6176 (4x 12 cores)
AMD SR5690/SR5670/SP5100 Chipset
4x 8x4 Go DDR3 Registered ECC (Quad Channel) ; in theory this should be either Kingston DDR3-1600 or DDR3-1333
Kyle is offline   Reply With Quote
Old 2012-11-23, 09:54   #4
debrouxl
 
debrouxl's Avatar
 
Sep 2009

22·5·72 Posts
Default

That's an interesting system
Which version of the Linux kernel and which distribution, BTW ? Linux powers ~95% of the world's most-powerful super-computers (and people are not necessarily using no-fee Linux distros on them, so the cost advantage does not necessarily hold), so workloads on which Linux does a bad job are supposed to be relatively infrequent.

Does GMP-ECM build on OpenSolaris ?
debrouxl is offline   Reply With Quote
Old 2012-11-23, 11:28   #5
Kyle
 
Nov 2012

2·32 Posts
Default

Hey, we are also very suprised that Linux is doing a bad job here (we have a lot a Intel systems working with no problem); but believe me it does.
Kernel version is 2.6.32-131.17.1.el6.x86_64 (SL6.1) but we even tried with 3.2, no changes...
Actually we have more than only one of such system: we installed OpenSolaris 11.1 on one of them, factor 1.6-1.7 speed improvement on Pi calculation. GMP can be compiled on it, so I think that GMP-ECM should also...
I will try to compile mprime on it... I think it should work!?
Kyle is offline   Reply With Quote
Old 2012-11-23, 13:56   #6
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

2·7·461 Posts
Default

I would guess that the substantial performance changes are a result of Solaris having better default NUMA handling: have you tried playing around with numactl under linux?

I had problems with the kernel moving jobs away from the processor that their memory is attached to; starting them with 'taskset -c X numactl -l' ensures that the job stays on processor X and has its memory allocated from processor X's pool, which can help quite a bit.

'numactl -i 0-7' will allocate memory interleaved across all eight memory controllers, which may be better for jobs that want to use lots of memory from a single thread.
fivemack is offline   Reply With Quote
Old 2012-11-24, 21:32   #7
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

267548 Posts
Default

Just out of curiosity, what are your compiler options under OpenSolaris - GCC-only or also SunStudio?
ewmayer is offline   Reply With Quote
Old 2012-11-26, 00:43   #8
Kyle
 
Nov 2012

2×32 Posts
Default

Quote:
Originally Posted by fivemack View Post
I had problems with the kernel moving jobs away from the processor that their memory is attached to; starting them with 'taskset -c X numactl -l' ensures that the job stays on processor X and has its memory allocated from processor X's pool, which can help quite a bit.

'numactl -i 0-7' will allocate memory interleaved across all eight memory controllers, which may be better for jobs that want to use lots of memory from a single thread.
Amazing! Thanks a lot!
But... Since I have 4 CPUS (with quad channel) on each: why eight memory controllers?

Quote:
Originally Posted by ewmayer View Post
Just out of curiosity, what are your compiler options under OpenSolaris - GCC-only or also SunStudio?
I use(d) SunStudio, with -fast -library=sunperf -xipo=2 -xtarget=barcelona
Kyle is offline   Reply With Quote
Old 2012-11-26, 12:19   #9
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

2×7×461 Posts
Default

On a Magny Cours system you don't quite have four CPUs with quad-channel memory controllers; you have eight CPUs with dual-channel memory controllers, packaged two to a socket.

If you do 'numactl --hardware' then you get the node distances table

Code:
node distances:
node   0   1   2   3   4   5   6   7 
  0:  10  16  16  22  16  22  16  22 
  1:  16  10  22  16  22  16  22  16 
  2:  16  22  10  16  16  22  16  22 
  3:  22  16  16  10  22  16  22  16 
  4:  16  22  16  22  10  16  16  22 
  5:  22  16  22  16  16  10  22  16 
  6:  16  22  16  22  16  22  10  16 
  7:  22  16  22  16  22  16  16  10
fivemack is offline   Reply With Quote
Old 2012-11-26, 13:27   #10
Kyle
 
Nov 2012

2·32 Posts
Default

Quote:
Originally Posted by fivemack View Post
On a Magny Cours system you don't quite have four CPUs with quad-channel memory controllers; you have eight CPUs with dual-channel memory controllers, packaged two to a socket.
Of course: http://www.anandtech.com/print/2978
I thought the "package" was seen as one processor. Hmmm... Thanks a lot!

Quote:
Originally Posted by fivemack View Post
If you do 'numactl --hardware' then you get the node distances table
Is node distance in CPU cycles or HT-link cycle?

Last fiddled with by Kyle on 2012-11-26 at 13:33
Kyle is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building 14.1/autoconf on Solaris 11/SPARC olegkirillov Mlucas 12 2021-06-17 01:19
Mprime on Solaris for ECM? D. B. Staple Software 7 2008-01-16 19:39
GIMPS Mersenne prime clients on Solaris? rx7350 Software 4 2007-02-28 04:05
Need binaries for Solaris x64 rgiltrap Software 4 2006-04-27 06:55
Solaris 10 moo Software 0 2004-12-01 01:56

All times are UTC. The time now is 04:27.


Fri Jul 7 04:27:06 UTC 2023 up 323 days, 1:55, 0 users, load averages: 1.70, 1.80, 1.64

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

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