ad rotator

Saturday, November 17, 2012

How do cores affect processing speed?

Modern processors can do more than one thing at once due to having multiple cores.  The computer sees these cores as individual processors so instructions can be sent to each independently.  A processor can essentially double its cores again if they are hyper threaded.  Therefore a 6 core hyper threaded processor will look like a 12 core processor.  NoteCaddy makes extensive use of multiple cores/processors to complete its tasks more quickly.  For more information on how to optimize NoteCaddy to work as well as possible please see NoteCaddy speed improvement.

How much do having more cores help NoteCaddy note creation speed?  Using my Intel i7 990x processor, I set it to 2,4,8,12 cores to simulate what different processors might produce.  This was done on a hand sample of around 90k cash hands.


As you can see, processing speed does not double when threads do.  This is because the biggest bottleneck NoteCaddy runs into is saving its notes to your database.  NoteCaddy creates large amounts of data that needs to be persisted.  So in conclusion if you want to get the biggest bang for your buck get a solid state disk drive with fast write speeds!

4 comments:

  1. I have 10 cores now 20 threads, can confirm that NC does something around 800 notes max on a Xeon E5-2650 v3 when I use the turbo hand grabber. Real speed improvement note creation already dropped below 30 and when vacuum the database I got an improvement for 10 hands a second but not for very long without the turbo hand grabber. It is probably the same speed improvement when going from USB2 to USB3, didn't have that either until now. I have probably a crappy SSD OCZ agility 120GB have a 60 also but reinstalled Windows 10 on the 120, I do have 32GB memory from crucial but it is only a single dimm so not running in dual mode (yet). Planning to put a NVM SSD in this system, but need to grind and win alot or else I can only get it next year. But hands a second will probably be then maybe more then 1k a second.

    ReplyDelete
    Replies
    1. Ohw and I used PostgreSQL 9.3 64 bits.

      Delete
    2. http://imgur.com/mYjBrvv I did see some 600+,700+ and maybe 800 but it fluctuates much and drops pretty fast.

      Delete