Re: usb-storage nice value

From: Stefan Richter
Date: Thu May 17 2007 - 15:53:37 EST


DervishD wrote:
> I'm having problems when reading/writing to external USB harddisks:
> my *internal* harddisk stalls from time to time, so watching a movie
> while copying data is a PITA (well, if the movie is bad, the leaps help
> a bit...).

If the internal harddisk is source or target of these copy operations...

...
> is there any way of modifying the pdflush behaviour so
> large buffered writes are less "agressive" and doesn't block apps which
> are just reading?

...then switching to another IO scheduler might perhaps help.

# cat /sys/block/hda/queue/scheduler

# echo deadline > /sys/block/hda/queue/scheduler
--
Stefan Richter
-=====-=-=== -=-= =---=
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/