Linux 2.6 ã«ã¯ sched_setaffinity(2) ã¨ããã·ã¹ãã ã³ã¼ã«ãããããããå©ç¨ãã¦ä»»æã®ã¹ã¬ããã(ãã«ãCPUç°å¢ä¸ã§)ç¹å®ã® CPU ã§å®è¡ããããã¨ãã§ãã¾ããhttp://www-06.ibm.com/jp/developerworks/linux/051028/j_l-affinity.shtmlãã«ããã¨ãªã¢ã«ã¿ã¤ã ããã»ã¹ã§ããã¼ã¸ã£ã¨ãªãã¹ã¬ããããã®ã·ã¹ãã ã³ã¼ã«ã§ç¹å®ã® CPU ã«åºå®ãã...ã¨ãã£ãå¿ç¨ãèããããããã§ãã ã¸ããã¨æã£ãã®ã§ã¡ãã£ã¨éãã§ã¿ã¾ãããLD_PRELOAD ã使ã£ã¦ä»»æã®ããã°ã©ã ãä»»æã® CPU ã«åºå®ãã¦åããã¦ã¿ã¾ããGCC ã® __attribute__)((constructor))( 㧠sched_setaffinitiy(2) ãå¼ã³ã¾ãã(åè: http://0xcc.net/blog/
{{#tags}}- {{label}}
{{/tags}}