Results 1 to 2 of 2

Thread: Setting the Threads option on CVData/CVCX

  1. #1
    Random number herder Norm's Avatar
    Join Date
    Dec 2011
    Location
    The mote in God's eye
    Posts
    12,461
    Blog Entries
    59


    Did you find this post helpful? Yes | No

    Setting the Threads option on CVData/CVCX

    CVData and CVCX have a Threads option which specifies the number of threads to be used in running a sim. Multiple threads means that you can run multiple hands at the same time, greatly increasing the speed of the simulation. Assuming that the processor can handle it, four threads will run nearly four times as many hands a minute. Multi-threads are supported by the following simulators: Standard, Multi-tracking, Real Shuffle, and CVCX. It is ignored for index generation. Problem is, how do you know the number of threads to specify.

    The first step is to determine the processor model. You can look this up on Google. Examples of processor models are i5-430M and i7-4790. Now you can look up the processor. Google Intel i5-430M or Intel i7-4790 for these two examples. This should bring you to the Intel specs for that processor. Now, look for # of Cores and # of Threads. If they are equal, there is no Hyperthreading. If unequal, there is Hyperthreading. The two cases are discussed separately below.

    No Hyperthreading

    When # of cores and # of threads are equal, there is no Hyperthreading. That is, all threads are fully independent. You can set the CV threads option equal to the number of cores for maximum speed.

    Hyperthreading

    If there are more threads than cores, the processor has Hyperthreading. Setting threads depends on the chip architecture. Generally, chips manufactured in the last four years allow a higher thread setting. Suppose the chip has four cores and eight threads. With older chips, five threads will work well. With newer chips, six or seven is possible. Even eight is possible, although the additional gain will be less. If you’re using higher numbers, make sure you have cleaned the dust out of the heat-sink, fans and filters and the room cannot be hot. Intel chips cannot be damaged by too much heat. But, they will shut down, forcing a reboot. I have increased the voltage to my Intel i7 chip by 20%, greatly increasing the heat generated, and regularly run seven threads.

    Notes


    • Instead of using 100% of the processor, CV will turn control over to the Windows scheduler thousands of times a second and pause every few milliseconds to keep from locking up the machine. This slows the sim by about 5%, but allows the PC to continue to perform smoothly. So, even if you use all the cores, you will still be able to run a browser or other apps. If you wish to run other applications that require significant CPU time, you can set Run low priority and CV will instruct Windows to only give it processor time if no other task wants it. If the machine is sluggish, you can reduce the threads. For example, with a two core processor, you can set threads to 1.5. There really isn’t such a thing as a half a thread. What CV does is run two threads, but only allow each to use 75% of a core.
    • If you are using a laptop, you may run into overheating problems, although the M chips are lower voltage and create less heat. I would avoid putting the laptop on your lap if you want to conceive children.
    "I don't think outside the box; I think of what I can do with the box." - Henri Matisse

  2. #2


    Did you find this post helpful? Yes | No
    Norm,

    Thanks for the information! My laptop using 4 threads runs CVData MUCH faster than with only one.

    Dog Hand

Similar Threads

  1. Replies: 2
    Last Post: 06-16-2014, 11:58 AM
  2. CVCX and CVData
    By moses in forum General Blackjack Forum
    Replies: 23
    Last Post: 03-18-2014, 10:43 AM
  3. CVCX or CVData
    By MercySakesAlive in forum Software
    Replies: 2
    Last Post: 10-03-2013, 01:21 PM
  4. rukus: question for Norm RE CVData and table delay option
    By rukus in forum Software & Simulations
    Replies: 4
    Last Post: 09-11-2008, 03:01 PM
  5. j 21: cvdata and cvcx
    By j 21 in forum Computing for Counters
    Replies: 2
    Last Post: 12-18-2007, 07:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

About Blackjack: The Forum

BJTF is an advantage player site based on the principles of comity. That is, civil and considerate behavior for the mutual benefit of all involved. The goal of advantage play is the legal extraction of funds from gaming establishments by gaining a mathematic advantage and developing the skills required to use that advantage. To maximize our success, it is important to understand that we are all on the same side. Personal conflicts simply get in the way of our goals.