How to determine the used size of device associated's buffer
Posted
by
dubbaluga
on Super User
See other posts from Super User
or by dubbaluga
Published on 2011-01-06T19:30:28Z
Indexed on
2011/01/06
19:56 UTC
Read the original article
Hit count: 373
Hi,
when mounting a device without the "sync
" option, e. g. by invoking the following:
mount -o async /dev/sdc1 /mnt
a buffer is associated with a device to optimize (speed) read/write operations. Is there a way to determine the size of this buffer? Another question that comes into my mind is, if it's possible to find out how much of it is used currently. This can be interesting to determine the time it would take to "sync
" or "umount
" slow devices, such as flash-based media.
Thanks in advance for your answers, Rainer
© Super User or respective owner