Jürgen Keil wrote:
A kernel profile seems to show that the kernel is busy with gzip'ing
(and busy with computing SHA1 hashes?):

# lockstat -kIW -D 20 sleep 20

Profiling interrupt: 3882 events in 20.021 seconds (194 events/sec)

Count indv cuml rcnt nsec Hottest CPU+PIL Caller ------------------------------------------------------------------------------- 1802 46% 46% 0.00 1931 cpu[0] mach_cpu_idle 517 13% 60% 0.00 6178 cpu[1] SHA1Transform

65 2% 87% 0.00 5438 cpu[1] SHA1Update

16 0% 96% 0.00 752 cpu[0] SHA1Final

The reason you are busy computing SHA1 hashes is you are using /dev/urandom. The implementation of drv/random uses SHA1 for mixing, actually strictly speaking it is the swrand provider that does that part.

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/crypto/io/swrand.c


--
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to