Reducing Disk I/O (ionice?)

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
FaeDine
Newbie
Newbie
Posts: 3
Joined: March 28th, 2011, 6:23 pm

Reducing Disk I/O (ionice?)

Post by FaeDine »

I'm running sabnzbd on Windows and looking for a way to reduce the disk I/O being used during the unpacking process.

I've read around about ionice, but I don't see the option for this  anywhere. Is it a Linux only option? Is there a way to limit the disk I/O in Windows?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Reducing Disk I/O (ionice?)

Post by shypike »

Only Windows 7 has some support for this, but not in a generic way like on Linux.
A program has to arrange for this by itself.
So, as long as par2 and unrar aren't modified to support this, there's not much hope.
SABnzbd on it's own isn't very disk-intensive.
FaeDine
Newbie
Newbie
Posts: 3
Joined: March 28th, 2011, 6:23 pm

Re: Reducing Disk I/O (ionice?)

Post by FaeDine »

I am using Windows 7 Enterprise but I'm unsure how to set this up.

It doesn't seem very disk intensive during downloading at all but a fair bit during unpacking. It's currently unpacking on a RAID-5 array (which is already quite slow to write to), and I find when streaming a 1080p movie from the drive it tends to 'chop up' a bit during unpacking. I know this is a bit picky  ;)

I'm quite familiar with Windows 7 but I've never seen any tools to limit or prioritize disk access, just CPU stuff. If there's a way to do it I'd really appreciate some insight or a step in the right direction.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Reducing Disk I/O (ionice?)

Post by shypike »

No, you misunderstand.
On Linux you let ionice run another program (like par2) with lower disk priority.
In Windows 7, the program itself (so par2) needs to do additional API calls to change its own disk priority.
So as long as the authors of par2 and unrar don't build this in, you won't get it.
FaeDine
Newbie
Newbie
Posts: 3
Joined: March 28th, 2011, 6:23 pm

Re: Reducing Disk I/O (ionice?)

Post by FaeDine »

Got it; that's unfortunate but good to know regardless. Thank you very much.
Crush
Newbie
Newbie
Posts: 15
Joined: May 8th, 2010, 1:46 am

Re: Reducing Disk I/O (ionice?)

Post by Crush »

So what about OS X? Is there a way to get this to work since I think OS X comes with a nice utility out of the box?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Reducing Disk I/O (ionice?)

Post by shypike »

Alas, the OSX kernel does not support it.
Despite his Steveness' claims, OSX isn't that modern (at least not under the hood).
Crush
Newbie
Newbie
Posts: 15
Joined: May 8th, 2010, 1:46 am

Re: Reducing Disk I/O (ionice?)

Post by Crush »

shypike wrote: Alas, the OSX kernel does not support it.
Despite his Steveness' claims, OSX isn't that modern (at least not under the hood).
Could this not tap into the built in "nice" command or does that not do the same thing?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Reducing Disk I/O (ionice?)

Post by shypike »

"nice" is about CPU priority, ionice is about disk priority.
The two have little in common in the kernel.
With modern CPUs, CPU-priority isn't that interesting any more.
Disk priority is much more important, as in most systems the disk channel is the bottleneck.
Crush
Newbie
Newbie
Posts: 15
Joined: May 8th, 2010, 1:46 am

Re: Reducing Disk I/O (ionice?)

Post by Crush »

Well, that's disappointing. Thanks for the heads up!
Post Reply