Система FreeBSD 10.2 на всякий профайлинг ядра выложу:
Код: Выделить всё
time seconds seconds calls ms/call ms/call name
5.7 9990.00 9990.00 23097 432.52 1608.04 lf_advlockasync [8]
4.7 18310.00 8320.00 144 57777.78 57777.78 _mtx_trylock_flags_ [19]
3.0 23653.00 5343.00 5923 902.08 939.05 critical_exit <cycle 7> [45]
2.8 28624.00 4971.00 4971 1000.00 1000.00 sse2_pagezero [50]
2.7 33411.00 4787.00 8003 598.15 1000.00 fget_unlocked [21]
2.6 37935.00 4524.00 4524 1000.00 1000.00 strcmp [56]
2.5 42366.00 4431.00 5811 762.52 1053.94 uma_zalloc_arg <cycle 5> [39]
2.4 46537.00 4171.00 4171 1000.00 1000.00 SHA256_Transform [63]
2.2 50378.00 3841.00 0 100.00% cap_rights_contains [65]
2.1 53998.00 3620.00 5775 626.84 1088.70 uma_zfree_arg <cycle 6> [38]
2.0 57521.00 3523.00 3492 1008.88 1008.88 copyin [68]
1.9 60937.00 3416.00 10636 321.17 1035.64 malloc [12]
1.9 64274.00 3337.00 0 3.08% syscall [1]
1.9 67590.00 3316.00 33174 99.96 1596.02 kern_fcntl [4]
1.9 70861.00 3271.00 3268 1000.92 1000.92 bzero [74]
1.7 73847.00 2986.00 9488 314.71 460.14 free <cycle 6> [60]
1.6 76606.00 2759.00 2641 1044.68 2106.34 lf_activate_lock [44]