Barry Robison
2005-Mar-22 03:28 UTC
[Samba] win2k vs smbmount, number of cifs ops required
I'm working on some data pipeline issues, and found some interesting results in comparing win2k vs samba. The volume being mounted is a NetApp 960. NetApp provides a way see the # of cifs operations on a given volume/qtree. So I compared how many ops are generated by copying a 12MB file ( a single 2k image ). The initial reasoning behind this testing was seeing if copying a file at the end of a render was more efficient than trickling data in as it rendered. Here are the results, and the script used to simulate the "trickle". On win32 I used cygwins dd. Any insight or comments would be welcome. Thanks! #!/usr/bin/perl # 12288000 byte file # win32 explorer cp 213 ops # win32 shell cp 210 ops # win32 dd @ 1024 bs 1068 ops # win32 dd @ 2048 bs 869 ops # win32 dd @ 4096 bs 833 ops # linux cp 3006 ops # dd @ 1024 bs 12321 ops # dd @ 2048 bs 6321 ops # dd @ 4096 bs 3321 ops my $bs = 2048; my $skip = 0; my $count = 94; for(0..63) { $skip = $_ * $count; my $dd = qq|dd if=/home/users/barryr/test.jpg of=/mnt/sc65/foo.jpg bs=$bs count=$count seek=$skip skip=$skip|; warn "$dd\n"; system( $dd ); }
Apparently Analagous Threads
- Gluster very poor performance when copying small files (1x (2+1) = 3, SSD)
- Gluster very poor performance when copying small files (1x (2+1) = 3, SSD)
- [RFC 0/4] Virtio uses DMA API for all devices
- [RFC 0/4] Virtio uses DMA API for all devices
- [RFC 0/4] Virtio uses DMA API for all devices