Re: [zfs-discuss] Streaming video and audio over CIFS lags.
It solved my problems, the difference was really huge. The onboard realtek 8111B chip could do about 40Mt/sec file transfer over CIFS which looked good, but in reality the io speed was very bad: backups to the CIFS share took ages, copying files to using ftp and unzipping files located in the cifs share to the same folder on cifs share. The new intel network card solved all this and more: backups are going in a fraction of time, raw network speed doubled from 400Mbps to 800Mbps and video streaming doesnt lag anymore at all. It really feels now like a local harddisk. - Juho Mäkinen This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Streaming video and audio over CIFS lags.
A few things to try: put in a different ethernet card if you have one, on one or more ends. Realtek works, but I've been unimpressed with their performance in the past. An Intel x1 pci express card will only run you around $40, and I've seen much better results with them. I first replaced my cheapest-from-the-shop-cheap 1Gbps network switch with a much better HP unmanaged switch, which didn't solve the problem. Then I went and bought an Intel PCI Gigabit Ethernet card for 25€ which seems to have solved the problem. I still need to do some testing though to verify. Is hardware checksum offloading enabled on either end? How does another pplication (e.g., scp) behave between the two machines? What's this? So far thanks for the responses so far, hopefully my Intel network card solved my problems =) - Juho Mäkinen This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] Streaming video and audio over CIFS lags.
I built a NAS with three 750 SATA disks in RAIDZ configuration and I've exported some filesystems using the Solaris kernel CIFS. Streaming video or even audio from the exported shares to windows xp gives a laggy performance. Seeking the video can take ages, audio (playing mp3 with winamp from the cifs share) stops from time to time and also the video playback lags and pauses from time to time. The videos work just fine when I play them from my local computer, or stream them from another windows computer via CIFS. I've searched this forums and found some other users reporting same problems, but not any good answers. I've tested network performance with iperf, which reports network speed to be about 50 Mt/sec (1Gbps network, so it should work much faster). This http://www.opensolaris.org/jive/thread.jspa?messageID=232250#232250 posting suggests trying to set zfetch_block_cap to 16..32, but I didn't found any ways how to set it. Any ideas? How I could improve my NAS to allow me to stream HD video from it? - Juho Mäkinen This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Streaming video and audio over CIFS lags.
Here's bonnie++ output with default settings: Version 1.03 --Sequential Output-- --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP sonas 4100M 138010 74 144083 33 76546 19 138071 90 185735 15 464.7 1 --Sequential Create-- Random Create -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 24307 99 + +++ + +++ 24438 99 + +++ + +++ sonas,4100M,138010,74,144083,33,76546,19,138071,90,185735,15,464.7,1,16,24307,99,+,+++,+,+++,24438,99,+,+++,+,+++ [EMAIL PROTECTED]:/etc# dladm show-dev LINKSTATE SPEEDDUPLEX rge0up 1000Mb full A bit speed testing with dd: [EMAIL PROTECTED]:/etc# dd if=/dev/zero of=/storagepool/users/test.dump bs=128k 2035941376 bytes (2.0 GB) copied, 23.6579 seconds, 86.1 MB/s The network rate is about 35-45 MB/s when copying large files from Windows XP over CIFS to the ZFS share. At the same time zpool iostat 5 shows write speed which is jumping in the following manner (there's actual sequent numbers for write speed) 50.9M, 43.0M, 7.88M, 50.9M, 50.9M, 18.6M, 32.3M, 50.9M Monitoring iostat -xnz 1 shows the following trend (while copying large files from windows): three seconds of writing r/sw/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device 0.0 477.10.0 57656.7 2.8 31.65.9 66.3 97 100 c3t0d0 0.0 469.40.0 56671.8 2.8 31.66.0 67.4 97 100 c3t1d0 0.0 482.60.0 58648.3 2.8 31.65.8 65.5 97 100 c3t2d0 then three seconds without any writing. Then again three seconds of writing following with three seconds without writing. My machine is based on GIGABYTE GA-P35-DS3P motherboard with Intel Code 2 Duo processor, 2GB fast 800Mhz DDR2 ram in dual-channel configuration and three Seagate 7200.11 750GB disks connected to the motherboard SATA controler running in AHCI mode. The motherboard uses Realtek 8111B network chipset to provide the gigabit ethernet. Does that info help anything? - Juho Mäkinen This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss