[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: measuring usb transfer throughput
open that file with O_DIRECT flag
or u can use sg_dd to read u usb device like /sdX directly with
o_direct=1. man sg_dd for information. search sg3_utils via google to
get this.
ming
On Tue, 2006-04-04 at 16:13 +0100, Bahadir Balban wrote:
> Hi,
>
> I am trying to measure usb transfer throughput by timing file read
> operations from a usb flashdisk into main memory. The results seems to
> be imprecise and I suspect this is due to filesystem caching. How
> could I prohibit filesystem caching in the kernel?
>
> Do you know of any GPL'ed usb benchmarks? Maybe I should measure this
> in the kernel rather then application space?
>
> Thanks,
> Bahadir
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive: http://mail.nl.linux.org/kernelnewbies/
> FAQ: http://kernelnewbies.org/faq/
>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/