Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2009 21:01:12 +0530
From:      Abhiman Yashpal Karkera <abhiman.yashpal@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Query regarding "write" system call.
Message-ID:  <38534d590905160831i1c812806qb03bbfc26caa2b62@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38534d590905160831i1c812806qb03bbfc26caa2b62>