RICHARDS,SAM (HP-France,ex1)
2000-Nov-03 10:22 UTC
SMB/redirector buffering file I/O writes
Hello, I am trying to use the file system between an NT workstation and Unix workstation to transfer streaming media. Data is getting buffered somewhere (I think in on the NT side, maybe in the redirector, which is buffering data until it receives EOF) which is stopping me from getting real time performance. To clarify, here's exactly what I'm trying to do... I am running a Samba server on the Unix box. A Java application running on the NT box writes data to a file on a mapped network drive at a rate of 16000 bytes/second and flushes the data stream every 8000 bytes. An application on the Unix box starts reading the data after a delay at the same rate. My problem is that the data is getting buffered somewhere in the system in chunks of either 48k or 56k bytes before it is written to the remote file system. This means I have to use a delay of about 6 seconds between starting writing the file and starting reading it, otherwise the unix side of things keeps returning with EOF. Can anyone tell me how to stop the data getting buffered or drop the buffering limit to 8000 bytes? Please could you send answers to samuel_richards@hp.com Thanks, Sam