Query regarding "write" system call.
Saifi Khan
saifi.khan at twincling.org
Sat May 16 15:58:45 UTC 2009
On Sat, 16 May 2009, Abhiman Yashpal Karkera wrote:
> Hi all,
> I am a newbie to Freebsd OS. I had a query regarding performing writes onto
> a disk.
>
> Generally when we want to write some data we first copy the data from the
> processes user space to the kernel buffer and hand this buffer to the device
> driver who then goes and initiated a write to the h/w.
>
> Now my question here is that the kernel buffers are very limited in size ,
> what happens if i have a really huge chunk of data to be written, won't the
> above mechanism of copying from userland to kernel buffer be slow ?
>
> thanks,
> Abhiman
RDMA is one possibility.
Zero-copy networking is an illustration of RDMA.
You may also want to look up VIA
http://www.intel.com/intelpress/chapter-via.pdf
thanks
Saifi.
More information about the freebsd-questions
mailing list