|
|
|
JVM многопоточность: Mac OS X vs Linux ?
|
|||
|---|---|---|---|
|
#18+
Господа, дайте ссылочку на любой ресурс с раскрытым сабжем Ибо подозреваю... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.11.2016, 00:44 |
|
||
|
JVM многопоточность: Mac OS X vs Linux ?
|
|||
|---|---|---|---|
|
#18+
BlackGnomeГуестГоспода, дайте ссылочку на любой ресурс с раскрытым сабжем Ибо подозреваю... Походу Вам сюда http://stackoverflow.com/questions/28888719/multi-threaded-c-program-much-slow-in-os-x-than-linux авторMacOSX and Linux implement pthread differently, causing this slow behavior. Specifically MacOSX does not use spinlocks (they are optional according to ISO C standard). This can lead to very, very slow code performance with examples like this one. авторHowever, on the MAC OS, a execution is only given a 'time slice' to execute, before another 'ready to execute' thread/process is allowed to execute. This means many many more context switches. Context switches are performed in 'sys' time. The result is the MAC OS will take much longer to execute. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.11.2016, 02:53 |
|
||
|
|

start [/forum/topic.php?fid=59&msg=39340413&tid=2123542]: |
0ms |
get settings: |
7ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
61ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
41ms |
get tp. blocked users: |
2ms |
| others: | 217ms |
| total: | 358ms |

| 0 / 0 |
