topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 16, 2024, 2:07 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: "Disk activity" tamer...  (Read 6454 times)

cettolox

  • Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 29
    • View Profile
    • Donate to Member
"Disk activity" tamer...
« on: September 17, 2007, 03:29 PM »
Hi,

I "love" process tamer, I can't live without !!!

But how I'd like a hard disk tamer ... ! If an application starts to use too much CPU it gets tamed... but how to deal with applications that start to heavily work with the hard drive, slowing down the system to a crawl and consuming little more than 0% CPU???

/Stef

yksyks

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 476
    • View Profile
    • Donate to Member
Re: "Disk activity" tamer...
« Reply #1 on: September 17, 2007, 03:34 PM »
My vote for this again...  ;) (https://www.donation...dex.php?topic=6803.0)

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • View Profile
    • Donate to Member
Re: "Disk activity" tamer...
« Reply #2 on: September 17, 2007, 03:35 PM »

It's good you mention that. You're actually not the first! See :
https://www.donation...47.msg71111#msg71111
https://www.donation...dex.php?topic=6803.0

[edit : oups! yksyks posted at the same time!)

cettolox

  • Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 29
    • View Profile
    • Donate to Member
Re: "Disk activity" tamer...
« Reply #3 on: September 17, 2007, 03:39 PM »
Opps, sorry, I admit it, I did not search before...

/Stef

MrCrispy

  • Participant
  • Joined in 2006
  • *
  • Posts: 332
    • View Profile
    • Donate to Member
Re: "Disk activity" tamer...
« Reply #4 on: September 17, 2007, 04:04 PM »
I am not aware of any mechanism to throttle disk IO in the Windows API. The most you can do is control IO using DPC's but once an IO request has been dispatched, it will run to completion unless its preempted by a higher priority request such as that coming from an ISR, which are not controllable from user mode.

Its impossible to timeslice away from an existing disk operation in the same way that can be done for threads on a cpu, the reason being that file IO has no notion of state which can be saved (like cpu registers).



« Last Edit: September 17, 2007, 06:53 PM by MrCrispy »

yksyks

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 476
    • View Profile
    • Donate to Member
Re: "Disk activity" tamer...
« Reply #5 on: September 17, 2007, 05:21 PM »
That's what I was afraid of...  :(