SHARE
TWEET

Untitled

a guest Jun 19th, 2017 50 in 9 hours
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.  * Number of threads. You can configure them below. Cryptonight uses 2MB of memory, so the optimal setting
  3.  * here is the size of your L3 cache divided by 2. Intel mid-to-high end desktop processors have 2MB of L3
  4.  * cache per physical core. Low end cpus can have 1.5 or 1 MB while Xeons can have 2, 2.5 or 3MB per core.
  5.  */
  6. "cpu_thread_num" : 4,
  7.  
  8. /*
  9.  * Thread configuration for each thread. Make sure it matches the number above.
  10.  * low_power_mode - This mode will double the cache usage, and double the single thread performance. It will
  11.  *                  consume much less power (as less cores are working), but will max out at around 80-85% of
  12.  *                  the maximum performance.
  13.  *
  14.  * no_prefetch -    This mode meant for large pages only. It will generate an error if running on slow memory
  15.  *                  Some sytems can gain up to extra 5% here, but sometimes it will have no difference or make
  16.  *                  things slower.
  17.  *
  18.  * affine_to_cpu -  This can be either false (no affinity), or the CPU core number. Note that on hyperthreading
  19.  *                  systems it is better to assign threads to physical cores. On Windows this usually means selecting
  20.  *                  even or odd numbered cpu numbers. For Linux it will be usually the lower CPU numbers, so for a 4
  21.  *                  physical core CPU you should select cpu numbers 0-3.
  22.  *
  23.  */
  24. "cpu_threads_conf" : [
  25.     { "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 0 },
  26.     { "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 1 },
  27.     { "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 2 },
  28.     { "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 3 },
  29. ],
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top