On Sun, Sep 04, 2005 at 09:31:36PM +0200, Vincent Immler wrote: > > What does this output mean? Is someone able to explain this output to me? > > /* not copying files*/ > soekris# vmstat -i | grep hifn > irq11/hifn0 397322 488 > > /* start to copying files via SFTP*/ > soekris# vmstat -i | grep hifn > irq11/hifn0 421628 507 > > Anyone has got a better way to ensure that this vpn card is working? Why > is there no improvement?
looks like there is improvement. 507>488. but i know what you mean. why is this not a big number who makes you feel good? first, make sure kern.usercrypto=1 second, vmstat(8) says that '-i' tells you interrupts since system startup. since there is no other info given, i believe rate is also going to be a rolling rate since system startup. line 773 of /usr/src/usr.bin/vmstat/vmstat.c: --- if (cnt || zflag) (void)printf("%-16.16s %20llu %8llu\n", intrname, cnt, cnt / uptime); inttotal += cnt; --- so if i'm at the right spot, it is a rolling average. watch 'systat vmstat' and you'll see interrupts per display-interval ( or second, don't remember which ). this is not as easily greppable tho. i don't know of a better way, but am interested in being told :P jared ps, fwiw, here are some SCPs from a 4801+1401 to a 2x.k7-MP+1401, of a 32MB file from dd if=/dev/arandom. both machines are 3.8 current from aug.29 snapshot, and neither was doing much of anything during the "test": for i in aes{128,192,256}-{cbc,ctr} arcfour{,128,256} 3des-cbc; { echo $i scp -c $i arandom.32M arandom.32M arandom.32M telperion:/MNT/warthog; }; [user.crypto=0] aes128-cbc arandom.32M 100% 32MB 762.1KB/s 00:43 arandom.32M 100% 32MB 712.4KB/s 00:46 arandom.32M 100% 32MB 728.2KB/s 00:45 aes192-cbc arandom.32M 100% 32MB 728.2KB/s 00:45 arandom.32M 100% 32MB 682.7KB/s 00:48 arandom.32M 100% 32MB 728.2KB/s 00:45 aes256-cbc arandom.32M 100% 32MB 668.7KB/s 00:49 arandom.32M 100% 32MB 712.4KB/s 00:46 arandom.32M 100% 32MB 668.7KB/s 00:49 3des-cbc arandom.32M 100% 32MB 420.1KB/s 01:18 arandom.32M 100% 32MB 414.8KB/s 01:19 arandom.32M 100% 32MB 431.2KB/s 01:16 [user.crypto=1] aes128-cbc arandom.32M 100% 32MB 963.8KB/s 00:34 arandom.32M 100% 32MB 963.8KB/s 00:34 arandom.32M 100% 32MB 885.6KB/s 00:37 aes192-cbc arandom.32M 100% 32MB 936.2KB/s 00:35 arandom.32M 100% 32MB 885.6KB/s 00:37 arandom.32M 100% 32MB 963.8KB/s 00:34 aes256-cbc arandom.32M 100% 32MB 936.2KB/s 00:35 arandom.32M 100% 32MB 885.6KB/s 00:37 arandom.32M 100% 32MB 963.8KB/s 00:34 3des-cbc arandom.32M 100% 32MB 712.4KB/s 00:46 arandom.32M 100% 32MB 697.2KB/s 00:47 arandom.32M 100% 32MB 697.2KB/s 00:47 - [ openbsd 3.7 GENERIC ( aug 29 ) // i386 ]