HyperThreading and multiple cores (CPUs)

   Á¶È¸ 22381   Ãßõ 0    

Short answers:

  • Turn off HyperThreading 
  • Turn off any cores beyond 8 
  • HyperThreading is mostly a thing of the past, so this section may not apply. 

HyperThreading is great for marketing, lousy for performance. It involves having two processing units sharing a single hardware cache. If both units are doing the same thing, the cache will be reasonably useful. If the units are doing different things, they will be clobbering each other's cache entries.

Furthermore MySQL is not great on using multiple cores. So, if you turn off HT, the remaining cores run a little faster.


Mariadb (MySQL)은 많은 CPU 코어를 안쓰므로, HT를 off 하는 것이 이득이다... 뭐 그런.

https://mariadb.com/kb/en/library/mariadb-memory-allocation/

- to be continue -
ªÀº±Û Àϼö·Ï ½ÅÁßÇϰÔ.
Inbusiness 2018-03
¼³°èÀÚÀÇ ÄÁ¼ÁÀÌ ±×·¸´Ù¸é µû¸£´Â°Ô ¼ø¸®ÀÎ µí ÇÕ´Ï´Ù ... ÇÏÇÏ
     
ȸ¿øK 2018-03
MySQL 5.6 ÀÌÀüÀº mutexÀÇ À̽´·Î Äھ 1°³ Á¤µµ ¹Û¿¡ ¾È½è°í
RDBÀÇ Æ¯¼º»ó ¸¹Àº thread¸¦ µ¿ÀÛÇϱ⵵ Èûµé¾î¼­ ±×·¸´Ù°í ÇÕ´Ï´Ù.


PDS
Á¦¸ñPage 7/15
2019-08   4679   ÀÓ½ÃÇö
2020-07   8138   È­Á¤Å¥»ï
2022-03   5902   ´©¸Þ
2023-03   43613   ½ºÀ§Æ®È¨
2023-11   5907   TheSTREET
2009-02   16870   Á¤ÀºÁØ1
2009-10   32216   ¹®±¤È­
2010-11   17694   TSHA
2013-04   46042   ȸ¿øK
2013-10   41231   ȸ¿øK
2014-02   22276   ÀÌÇö¼®1
2014-08   18351   ±èȲÁß
2015-12   23392   FOXBI
2017-10   17170   µéÀÌ´ë
2019-03   11269   pmnxis
2020-07   7003   õ¸¶°Ç»§
2023-05   24468   °­³²»çÂ¥
2009-02   20622   Á¤ÀºÁØ1
2010-01   20546   1CPUÁöÃ¢ÈÆ
2010-11   20298   ±è¹®Çü