mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2009-12-14, 10:40   #1
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

3·2,141 Posts
Default benchmarks on dual i7-xeon

This is a 2.26GHz dual-Xeon5520 Mac Pro running OSX.

Test is http://www.chiark.greenend.org.uk/~twomack/i7test.zip (a 130-digit GNFS; I'm afraid it's a 600MB download)

Code:
Threads : BLanczosTime
 1  10941
 2   5940
 3   4463
 4   3772
 6   3270
 8   3330
12 3505
16 3818
So scaling from 1 to 4 threads is pretty good, but beyond that gets diminishing returns quite quickly. I don't know how you get malloc to allocate an area on the memory physically attached to a specific CPU.
fivemack is offline   Reply With Quote
Old 2009-12-14, 12:51   #2
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

67278 Posts
Default

Quote:
Originally Posted by fivemack View Post
So scaling from 1 to 4 threads is pretty good, but beyond that gets diminishing returns quite quickly. I don't know how you get malloc to allocate an area on the memory physically attached to a specific CPU.
The current code makes each thread malloc its own memory, in case the C library is NUMA-aware; hopefully that's enough, and at any rate page migration has been in the 2.6 kernel for a while now (dont know about Darwin)

Last fiddled with by jasonp on 2009-12-14 at 12:52
jasonp is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mixing Xeon E5-26xx processors on Dual CPU motherboard VictordeHolland Hardware 13 2019-03-05 06:09
Dual Xeon 5355 bgbeuning Information & Answers 5 2015-11-17 17:53
Dual Xeon Help euphrus Software 12 2005-07-21 14:47
Dual Xeon Workstation RickC Hardware 15 2003-12-17 01:35
Best configuration for linux + dual P4 Xeon + hyperthreading luma Software 3 2003-03-28 10:26

All times are UTC. The time now is 19:30.


Sun Aug 1 19:30:01 UTC 2021 up 9 days, 13:59, 0 users, load averages: 1.85, 1.79, 1.84

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