Bitcoin Forum
May 24, 2024, 04:16:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: RANDOM-X on XEON... CACHE, FREQ'S OR CORES?  (Read 483 times)
MA3A (OP)
Full Member
***
Offline Offline

Activity: 241
Merit: 100

To Hash or not to Hash, that's what the question


View Profile WWW
February 05, 2020, 02:37:26 AM
 #1

INTEL S2600CW2SR with dual 2011 sockets that support Xeon V3 and V4 cpus.Trying to figure out what is the best watt/$ processor for this board to run XMRIG? Would CACHE be the first priority then NUMBER OF CORES and then FREQUENCY or how should i prioritize factors involved>?
Board supports up to 140W per socket.
Thanks

https://www.facebook.com/Qubex-Denver-Data-Recovery-473541326020759/ - accepting coins as payment
www.qubexdatarecovery.info Professional data recovery service for PHYSICALLY DAMAGED (broken) DEVICES: RAID0/RAID5/HYBRID RAID/SSD/HDD/FLASH DRIVE/CELLPHONE/, ALL OS, up to LEVEL 4, ISO-10 Clean room/ISO-100 hoods, Pro tools and know-how.
joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
February 05, 2020, 02:47:11 AM
 #2

1. cache / cores

I believe RandomX use the same cache as the old Cryptonight, 2 MB/thread.
You only need as many cores as you have cache to support them.

2. Frequency

3. Cores, see 1.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
MA3A (OP)
Full Member
***
Offline Offline

Activity: 241
Merit: 100

To Hash or not to Hash, that's what the question


View Profile WWW
February 05, 2020, 06:57:37 PM
 #3

so for example E5 2670 V3 ( 12core 30mb 2,3ghz) vs E7 8893 (4core 45mb 3,2ghz)  
2670 should be better right?

https://www.facebook.com/Qubex-Denver-Data-Recovery-473541326020759/ - accepting coins as payment
www.qubexdatarecovery.info Professional data recovery service for PHYSICALLY DAMAGED (broken) DEVICES: RAID0/RAID5/HYBRID RAID/SSD/HDD/FLASH DRIVE/CELLPHONE/, ALL OS, up to LEVEL 4, ISO-10 Clean room/ISO-100 hoods, Pro tools and know-how.
philipma1957
Legendary
*
Online Online

Activity: 4130
Merit: 7912


'The right to privacy matters'


View Profile WWW
February 05, 2020, 07:14:28 PM
 #4

so for example E5 2670 V3 ( 12core 30mb 2,3ghz) vs E7 8893 (4core 45mb 3,2ghz)  
2670 should be better right?

devide core into cache.

so   30/12 = 2.5   this works  since the 2.5 is bigger then 2 by just a bit


and

45/4 = 11.25   this works less since 11.25 is way bigger then   2


you can set threads used lower

if  you have say 40mb and 32 cores that is

40/32 = 1.25  this is under 2

so you would set this to

20 of the 32 cores


and get

40/20 = 2

get cheap cpu's with big cache

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
February 05, 2020, 07:45:04 PM
 #5

Adding some detail to phillipma's reply...

so for example E5 2670 V3 ( 12core 30mb 2,3ghz) vs E7 8893 (4core 45mb 3,2ghz)  
2670 should be better right?

devide core into cache.

so   30/12 = 2.5   this works  since the 2.5 is bigger then 2 by just a bit

joblo> this is a good match.

and

45/4 = 11.25   this works less since 11.25 is way bigger then   2

you can set threads used lower

if  you have say 40mb and 32 cores that is

40/32 = 1.25  this is under 2

so you would set this to

20 of the 32 cores

joblo> you have more cache than the  cores can use, need morecore with this much cache


and get

40/20 = 2

get cheap cpu's with big cache


A ratio of 2MB cache / core(thread) is optimum.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
antantti
Legendary
*
Offline Offline

Activity: 1176
Merit: 1015


View Profile
February 06, 2020, 08:23:50 PM
 #6

v3 and v4 Xeons are L2 limited on randomx no matter how much L3 they have.

2x 4627v3 ($100?) 20 threads @3GHz gives you 10k consuming 260w.

2x 2696v3 ($800?) 36 threads @2.8GHz gives you 18k consuming 290w.

To compare, L3 limited ryzen 3600 ($200) 12 threads @4.2GHz gives 7k consuming 100w.
MA3A (OP)
Full Member
***
Offline Offline

Activity: 241
Merit: 100

To Hash or not to Hash, that's what the question


View Profile WWW
February 07, 2020, 09:45:35 PM
 #7

Quote
2x 2696v3 ($800?) 36 threads @2.8GHz gives you 18k consuming 290w
- this is a bit too much of $ in...

Quote
2x 4627v3 ($100?) 20 threads @3GHz gives you 10k consuming 260w
- this is very reasonable, where did you get numbers from?

i have found locally 2670 v3, will install soon and see what they are capable of

https://www.facebook.com/Qubex-Denver-Data-Recovery-473541326020759/ - accepting coins as payment
www.qubexdatarecovery.info Professional data recovery service for PHYSICALLY DAMAGED (broken) DEVICES: RAID0/RAID5/HYBRID RAID/SSD/HDD/FLASH DRIVE/CELLPHONE/, ALL OS, up to LEVEL 4, ISO-10 Clean room/ISO-100 hoods, Pro tools and know-how.
antantti
Legendary
*
Offline Offline

Activity: 1176
Merit: 1015


View Profile
February 08, 2020, 10:25:02 AM
Merited by wacko (1)
 #8

- this is very reasonable, where did you get numbers from?

i have found locally 2670 v3, will install soon and see what they are capable of

Had a chance to test many different v3 xeons and compare randomx performance to specs, some observations:

-algo needs 256Kb L2 for every thread so hyperthreading is basically useless, disable it to save power or use cpu affinity to bind threads to 'real' cores.
-turbo bins, models with highest all core turbo are the best.
-tdp, on higher core count models after optimal tweaking you start hitting the tdp wall and throttling starts, negative vcore offset helps to a point where cpu crashes due to too low voltage.
-xeons run really cool, with a decent cooler heat is never a problem.
-exploiting 'xeon v3 turbo hack' can boost mining performance easily 20-30%.

What I forgot to try was some REALLY tight memory timings like with ryzens, v3 supports only DDR4-2133 and depending on how many memory sticks you have it runs on 1-4 way mode.

For example, looking at 2670 v3 I see it is a 12c/24t cpu with tdp of 120w, 2.3GHz base clock and turbo 3/3/3/3/3/3/3/4/5/6/8/8 meaning it will run on 2.6-3.1 GHz depending on how many threads you are using. 12 threads @2.6GHz will end up somewhere in 5k range.

Most likely you are limited also on your INTEL S2600CW2SR motherboard and the lack of tuning options and/ or possibility to use cheap ES/QS processors.

Do a search for 'List_of_Intel_Haswell-based_Xeon_microprocessors', really nice listing which clearly shows the most important specs for mining.



joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
February 08, 2020, 05:53:47 PM
 #9


Had a chance to test many different v3 xeons and compare randomx performance to specs, some observations:


Excellent info, very informative. I don't have any Xeons but it was still quite interesting.

Thanks for identifying the 256K L2 dependency, I wasn't previously aware of it.

With improvements to turbo boost, boosting more cores, the benefits of mining with
N/2 threads is increased.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
antantti
Legendary
*
Offline Offline

Activity: 1176
Merit: 1015


View Profile
February 08, 2020, 08:38:51 PM
 #10

Excellent info, very informative. I don't have any Xeons but it was still quite interesting.

Thanks for identifying the 256K L2 dependency, I wasn't previously aware of it.

To make matters worse latest xeons have more than enough of L2 but guess what... some L3 is missing.

To be on topic, XEON... CACHE, FREQ'S OR CORES?, perfect answer is FREQ x CORES without HT.

OT: Most cpu-algos are not L2 limited, must Do Your Own Research.


MA3A (OP)
Full Member
***
Offline Offline

Activity: 241
Merit: 100

To Hash or not to Hash, that's what the question


View Profile WWW
February 08, 2020, 09:35:43 PM
 #11

Quote
-exploiting 'xeon v3 turbo hack' can boost mining performance easily 20-30%.
- never heard of this, can you point me?

I got my e5 2070 v3 installed. temps are good. I Get 5800hs out of both. Mem runs on two channels, bought more sticks, will get them next week installed, curious if 4 channels will do any good...
Comparing to two E5 2665 V2, the v3's are less powerful. I get 6200-6300Hs out of V2s

https://www.facebook.com/Qubex-Denver-Data-Recovery-473541326020759/ - accepting coins as payment
www.qubexdatarecovery.info Professional data recovery service for PHYSICALLY DAMAGED (broken) DEVICES: RAID0/RAID5/HYBRID RAID/SSD/HDD/FLASH DRIVE/CELLPHONE/, ALL OS, up to LEVEL 4, ISO-10 Clean room/ISO-100 hoods, Pro tools and know-how.
antantti
Legendary
*
Offline Offline

Activity: 1176
Merit: 1015


View Profile
February 08, 2020, 10:23:04 PM
 #12

Quote
-exploiting 'xeon v3 turbo hack' can boost mining performance easily 20-30%.
- never heard of this, can you point me?

Looking at your signature, hehe...

Out for another year or so.
Bitbtc8
Full Member
***
Offline Offline

Activity: 1148
Merit: 116



View Profile
February 09, 2020, 08:30:04 AM
 #13

is Xeon X5650 or X5670 better for mining Monero compare to the latest Xeon CPUs in the market right now? any where I can see hashrate comparison?

►           ►     enVoy            Sustainably Green Trust in Trade          ◄           ◄
►           ██  WHITEPAPER       ██  TWO PAGER       ██  TOKEN DECK           ◄
[vFacebook               [vTwitter               [vTelegram               [vMedium               [vLinkedin               [vReddit
MA3A (OP)
Full Member
***
Offline Offline

Activity: 241
Merit: 100

To Hash or not to Hash, that's what the question


View Profile WWW
February 10, 2020, 08:47:01 PM
Last edit: February 10, 2020, 09:12:53 PM by MA3A
 #14

So added more ram, now its quad channel. no change in hash rate.
looks like this is it:
https://www.win-raid.com/t3874f16-GUIDE-Haswell-E-EP-Xeon-CPUID-F-Turbo-Unlock.html
http://www.miyconst.com/Blog/View/2081/xeon-e5-2600-v3-turbo-boost-unlock
http://www.xtremesystems.org/forums/showthread.php?293290-Various-Overclocker-discovers-Xeon-E5-V3-Errata-Engineers-exploit-to-unlock-Turbo

https://www.facebook.com/Qubex-Denver-Data-Recovery-473541326020759/ - accepting coins as payment
www.qubexdatarecovery.info Professional data recovery service for PHYSICALLY DAMAGED (broken) DEVICES: RAID0/RAID5/HYBRID RAID/SSD/HDD/FLASH DRIVE/CELLPHONE/, ALL OS, up to LEVEL 4, ISO-10 Clean room/ISO-100 hoods, Pro tools and know-how.
joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
February 11, 2020, 07:18:02 AM
 #15

So added more ram, now its quad channel. no change in hash rate.

That caught my attention. I was thinking Ryzen was pushing 2 channel with too many threads
but apparently not.

The only algos I can think of that are memory bottlenecked are srcyptn2 and lyra2z330.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
DDante
Member
**
Offline Offline

Activity: 434
Merit: 19


View Profile
February 12, 2020, 09:52:35 AM
 #16

Intel Xeon CPUs are easier to configure for me than Ryzen, I still don't understand how Ryzen CPUs are made, one other thing is Xeon CPUs support AES, with AES you will definitely get higher hashrate compare to the default hashrate
joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
February 12, 2020, 11:22:08 AM
 #17

Intel Xeon CPUs are easier to configure for me than Ryzen, I still don't understand how Ryzen CPUs are made, one other thing is Xeon CPUs support AES, with AES you will definitely get higher hashrate compare to the default hashrate

Every x86_64 CPU built in the last 10 years has AES.

I don't know what you mean that yoy don't unerstand how Ryzen's are made.
The only thing that affects mining is you need to set cpu affinity on Ryzen when using
fewer threads than avaiable. On Intel it isn't necessary.

On Intel thread 1 is on core 1 while on Ryzen thread 2 is on core 1 SMT with thread 0.
 
To use 8 of 16 threads on intel the default affinity 0x00ff assures only one thread per
physical core.
 
With Ryzen you need to specify affinity 0x5555 or 0xaaaa (alternating 0 & 1) to avoid putting 2
threads on the same physical core.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
tevador
Newbie
*
Offline Offline

Activity: 23
Merit: 6


View Profile
February 12, 2020, 05:51:05 PM
 #18

Every x86_64 CPU built in the last 10 years has AES.

Not true.

Counterexample: https://ark.intel.com/content/www/us/en/ark/products/87358/intel-pentium-processor-g3470-3m-cache-3-60-ghz.html

Released in Q1 2015.
joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
February 12, 2020, 06:53:37 PM
 #19


Your nick looks familiar.Smiley

You got me on a technicality, I don't consider Pemtium and Celeron true X86_64 specifically
because they are crippled implementations.

In practical terms I was correct but let me rephrase to be technically correct.

Every mainstream x86_64 CPU, excluding very low cost CPUs, like Pentiums and Celerons,
built in the last 10 years has AES.



 

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
Wh@@@t
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 13, 2020, 07:45:56 PM
 #20

is Xeon X5650 or X5670 better for mining Monero compare to the latest Xeon CPUs in the market right now? any where I can see hashrate comparison?

2*Xeon E5440 = 1200 H/s
2*Xeon X5670 = 3400 H/s
2*Xeon E5-2670 = 6700 H/s
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!