Skip to contentSkip to conversation

BTRFS and "ionice"

DISCUSSION Swâmi Petaramesh 2 participants 2 messages Mar 11, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi,

I use "ionice -c 3 <command>" to run some low-priority background tasks (i.e. tar, big file copies, or performing checksums sur very big files) using the disk "only when idle", which would be supposed to have very little impact on my system performance meanwhile.

I can be pretty sure that those tasks are I/O-bound and use very little CPU (and they are niced as well, anyway).

However, when such tasks are running my BTRFS system slows down to a crawl, becomes very very unresponsive, and it seems to me that disk I/O is completely saturated (LED is fixed lit...)

So I wonder if BTRFS correctly support ionice, or if it's plain useless ?

TIA

Kind regards.

Signature · 2 lines
Swâmi Petaramesh <[email protected]> http://petaramesh.org PGP 9076E32E
Ne cherchez pas : Je ne suis pas sur Facebook.
#1 lore raw

Hi,
Which IO scheduler do you use? I used to have terrible read performance during a btrfs scrub until I switched the disk scheduler from deadline to cfq.
Cheers, Dan

Quoted 28 lines · Swâmi Petaramesh

Hi,

I use "ionice -c 3 <command>" to run some low-priority background tasks (i.e. tar, big file copies, or performing checksums sur very big files) using the disk "only when idle", which would be supposed to have very little impact on my system performance meanwhile.

I can be pretty sure that those tasks are I/O-bound and use very little CPU (and they are niced as well, anyway).

However, when such tasks are running my BTRFS system slows down to a crawl, becomes very very unresponsive, and it seems to me that disk I/O is completely saturated (LED is fixed lit...)

So I wonder if BTRFS correctly support ionice, or if it's plain useless ?

TIA

Kind regards.

--
Swāmi Petaramesh <[email protected]> http://petaramesh.org PGP 9076E32E Ne cherchez pas : Je ne suis pas sur Facebook.

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html