Poker-AI.org

Poker AI and Botting Discussion Forum
It is currently Mon Nov 13, 2023 12:15 pm

All times are UTC




Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: CPU for number crunching
PostPosted: Thu May 02, 2013 10:20 am 
Offline
Regular Member

Joined: Sun Mar 03, 2013 11:55 am
Posts: 64
I've done a bit of Googling, and there's a fair amount of contradictory information, so I was hoping someone with knowledge could help me out.

What CPU should I get for decent number crunching performance? (At a reasonable price)


Top
 Profile  
 
PostPosted: Thu May 02, 2013 11:12 am 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
http://aws.amazon.com/ec2/instance-types/


Top
 Profile  
 
PostPosted: Thu May 02, 2013 12:30 pm 
Offline
Regular Member

Joined: Sun Mar 03, 2013 11:55 am
Posts: 64
Wouldn't take too long before I may as well have bought a high end machine myself.


Top
 Profile  
 
PostPosted: Thu May 02, 2013 1:19 pm 
Offline
Veteran Member

Joined: Thu Feb 28, 2013 2:39 am
Posts: 437
What's "a reasonable price"?


Top
 Profile  
 
PostPosted: Thu May 02, 2013 1:42 pm 
Offline
Regular Member

Joined: Sun Mar 03, 2013 11:55 am
Posts: 64
Nasher wrote:
What's "a reasonable price"?

I'm looking at a complete build for under £1000 - the cheaper the better.

I was looking at this lot:
Gigabyte GA-990FXA-UD3
AMD FX-8350 4GHz
G-Skill 32GB (8x4GB) DDR3 1866MHz
WD 1TB 3.5" SATA-III Caviar Green
Sapphire HD 6450 512MB
CIT 650w Power supply
AvP Triton Mid Tower Black Blue

Total of £611.82 on Ebuyer

Obviously for a number cruncher, graphics and drive speed are not a concern.

The FX-8350 with 8 cores for £156.64 is very tempting compared to the Intel Core i7 2700K for £274.54 with 8 threads. But I was wondering if it'd be worth the extra money, or even the Intel Core i7 3930K with 12 threads for £466.12. I don't really know what the performance comparisons would be like.

I noticed that my current fictitious play implementation runs more than twice as fast on my i7 laptop, as it does on my AMD 1090T desktop, Both running 4 threads. I don't know if that's likely to be purely down the to the CPU - or issues with the desktop setup.

Edit: Or the Intel Xeon E3-1275v2 for £273.03

I've always done AMD builds in the past - so I'm fairly unfamiliar with the Intel world.


Top
 Profile  
 
PostPosted: Thu May 02, 2013 2:30 pm 
Offline
Junior Member

Joined: Thu May 02, 2013 2:25 pm
Posts: 30
Nominal EC2 prices are high, but you can rent really cheap machines on the spot market - I'm currently renting 8 core 68 GB RAM machines for $0.15/h.


Top
 Profile  
 
PostPosted: Thu May 02, 2013 8:24 pm 
Offline
Veteran Member

Joined: Thu Feb 28, 2013 2:39 am
Posts: 437
PolarBear wrote:
Nominal EC2 prices are high, but you can rent really cheap machines on the spot market - I'm currently renting 8 core 68 GB RAM machines for $0.15/h.

That must be linux.

Intel computers seem to perform better for number crunching. You might look up performance comparisons for the different processors you had in mind.


Top
 Profile  
 
PostPosted: Thu May 02, 2013 8:46 pm 
Offline
Junior Member

Joined: Thu May 02, 2013 2:25 pm
Posts: 30
Nasher wrote:
PolarBear wrote:
Nominal EC2 prices are high, but you can rent really cheap machines on the spot market - I'm currently renting 8 core 68 GB RAM machines for $0.15/h.

That must be linux.

Intel computers seem to perform better for number crunching. You might look up performance comparisons for the different processors you had in mind.


Yeah that's for Linux machines.
The CPUs are somewhat dated Intel Xeons (definitely slower per-core than my desktop i7-3770K), but still, for infrequent large jobs this offer is hard to beat - renting 400 cores for a couple days (that's my use case lately) costs pennies compared to their price. If the algo that OneDay wants to use is parallelizable across multiple machines, going massive with a farm of rented spot machines is definitely something I'd consider.


Top
 Profile  
 
PostPosted: Fri May 03, 2013 5:35 am 
Offline
Regular Member

Joined: Sun Mar 03, 2013 11:55 am
Posts: 64
It's not currently parallelizable across multiple machines, and I foresee this doing a lot of number crunching for a long time. So I don't think rented power is the best way to go in the long run.

+ Once I'm done number crunching, I get my next Dev machine for free! :-)


Top
 Profile  
 
PostPosted: Fri May 03, 2013 4:11 pm 
Offline
Junior Member

Joined: Thu May 02, 2013 2:25 pm
Posts: 30
Speaking of getting your own machine, it's possible now to get a strong machine (CPU-wise) which is absolutely noiseless (no moving parts except the CD drive) for a reasonable price (I got mine for about $2k from quietpc.com). It's great for people who are annoyed by their botting machines making constant noises in their bedroom/living room.


Top
 Profile  
 
PostPosted: Fri May 03, 2013 7:48 pm 
Offline
New Member

Joined: Wed Apr 03, 2013 4:19 pm
Posts: 6
Why not use a good gpu instead ? you'll get about 15x performance than cpu for number crushing.

Regards


Top
 Profile  
 
PostPosted: Fri May 03, 2013 9:22 pm 
Offline
Senior Member

Joined: Mon Mar 11, 2013 10:24 pm
Posts: 216
GPUs aren't performing well if the workload doesn't fit into the memory afaik.

Regarding EC2: How does it work when using the spot instances: do you need to setup your number cruncher in the auto start of the OS?


Top
 Profile  
 
PostPosted: Fri May 03, 2013 10:15 pm 
Offline
Junior Member

Joined: Thu May 02, 2013 2:25 pm
Posts: 30
proud2bBot wrote:
GPUs aren't performing well if the workload doesn't fit into the memory afaik.

Regarding EC2: How does it work when using the spot instances: do you need to setup your number cruncher in the auto start of the OS?


AFAIK GPU are rather primitive creatures, for example don't have the ability for recurrence (which is essential for typical tree-traversing algorithms).

Spot machines are just like regular machines - you create them from from an image, which can be either a vanilla Linux image provided by amazon or an image you've prepared yourself (by making a snapshot of another instance earlier).


Top
 Profile  
 
PostPosted: Fri May 03, 2013 10:38 pm 
Offline
Senior Member

Joined: Mon Mar 11, 2013 10:24 pm
Posts: 216
yes, but afaik you don't have direct control over the fact when your VM is running or stopped. So for instance you make a bid and the price is currently too high. Hours later it reaches the price and you automatically get the instance booked, but how to start the cruncher automatically? Do you have to take care of it via the OS mechanisms for startup? Or do you create an instance, start the process, hibernate it and pass it the spot market so its executed as soon as there's capacity available for your price?


Top
 Profile  
 
PostPosted: Fri May 03, 2013 11:16 pm 
Offline
Veteran Member

Joined: Thu Feb 28, 2013 2:39 am
Posts: 437
You set a max price you're willing to pay, then just accept the current spot price. The trouble is, if somebody later buys out all the server capacity, essentially outbidding you, the instance gets shut down and no new data is saved. <-- This happened to me last week. I think you can preserve your disk instance somehow in case that happens. I'm not entirely sure how to do that, though. You can create an instance and save a disk image (AMI) with your app on it, but that's done manually.


Top
 Profile  
 
PostPosted: Sat May 04, 2013 4:40 am 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
Gnomikian wrote:
Why not use a good gpu instead ? you'll get about 15x performance than cpu for number crushing.
Only if the problem is parallelizable - which his isn't


Top
 Profile  
 
PostPosted: Sat May 04, 2013 8:32 pm 
Offline
Junior Member

Joined: Thu May 02, 2013 2:25 pm
Posts: 30
Nasher wrote:
You set a max price you're willing to pay, then just accept the current spot price. The trouble is, if somebody later buys out all the server capacity, essentially outbidding you, the instance gets shut down and no new data is saved. <-- This happened to me last week. I think you can preserve your disk instance somehow in case that happens. I'm not entirely sure how to do that, though. You can create an instance and save a disk image (AMI) with your app on it, but that's done manually.


It's possible to make the disk persistent, so work isn't lost - I think it set when creating the image.


Top
 Profile  
 
PostPosted: Wed May 08, 2013 2:41 am 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
PolarBear wrote:
Nasher wrote:
PolarBear wrote:
Nominal EC2 prices are high, but you can rent really cheap machines on the spot market - I'm currently renting 8 core 68 GB RAM machines for $0.15/h.

That must be linux.

Intel computers seem to perform better for number crunching. You might look up performance comparisons for the different processors you had in mind.


Yeah that's for Linux machines.
The CPUs are somewhat dated Intel Xeons (definitely slower per-core than my desktop i7-3770K), but still, for infrequent large jobs this offer is hard to beat - renting 400 cores for a couple days (that's my use case lately) costs pennies compared to their price. If the algo that OneDay wants to use is parallelizable across multiple machines, going massive with a farm of rented spot machines is definitely something I'd consider.


Sounds, like this would be great for computing NEQs with a high number of buckets, definitelly sounds easier than connecting 4 computers in a LAN, which was my original idea. Are there any drawbacks, that makes renting a machine with lots of RAM impractical?


Top
 Profile  
 
PostPosted: Wed May 08, 2013 3:34 am 
Offline
Junior Member

Joined: Thu May 02, 2013 2:25 pm
Posts: 30
HontoNiBaka wrote:
Are there any drawbacks, that makes renting a machine with lots of RAM impractical?


Transfering a lot of data can be cumbersome (I'm seeing transfers around 700 KB/sec) , although there is a service for shipping data on physical hard drives to/from AWS S3.


Top
 Profile  
 
PostPosted: Mon May 27, 2013 6:54 pm 
Offline
Regular Member
User avatar

Joined: Sat May 25, 2013 7:36 am
Posts: 73
http://www.dell.com/us/business/p/precision-t7600/pd


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group