ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > ProcessTamer

Tame applications based on CPU

(1/2) > >>

leaskn:
I notice that the new config GUI has a checkbox titled: "tame applications based on CPU usage". There is no mention of it in the help (or in this forum that I can tell).

If you de-check this option what does it do? Does it tame based on some other parameters other than CPU? Or does it effectively turn PT off?

In terms of feature requests, it would be nice to be able to tame a process if it's disk usage goes over certain thresholds, similar to current CPU parameters. For laptop users, no matter how high spec your laptop is, disk throughput is the key bottleneck. A process can be using relatively little CPU, but is generating a large number of page faults (retreiving/writing data to/from disk), it can effect useability as much as a process that has run away with the CPU...

Any thoughts?

Cheers


Nick

mouser:
Hi nick,

if you de-check the option, then it will only tame apps based on any explicit rules you set that say which apps should be forced to which priorities.

your disk usage idea is a good one, the problem is that while you could detect this scenario, lowering the apps priority wouldn't help you much :(

leaskn:
I would think that this would help. An applicationcan only retrieve/write data to disk when it is executing on the CPU. If an application has less priority (gets less CPU slices) then the number of page fault deltas that are being serviced would be reduced, right?

More than happy to be corrected if this is incorrect :)

Cheers


Nick

mouser:
well you might be right IFF there are other applications also competing for the cpu, then perhaps a side effect might be a slight reduction in disk usage, but i have my doubts that you'd notice it in most cases.

after all we are assuming here that the app itself isn't using enough cpu to trigger a normal taming, so reducing it's priority is not likely to reduce its actual cpu usage significantly, which means it's disk access is not likely to be affected much.

now you could implement other things to proactively SLOW DOWN the app, which would have an effect.

leaskn:
OK, this will be my last comment, as I do not know this stuff for a fact, I am summising based on my general system knowledge :)

Firstly, CPU is not necessarily linked to disk/IO usage. That is, an application that accesses the disk a lot does not necessarily generate a high CPU load. A program doing a virus scan, uses lots of disk because it is reading all files on a file system, it then uses lots of CPU because it is processing the data and applying CPU intensive data matching and heuristic routines to the data. An application that is copying large amounts of data from one place to another (eg: Windows Explorer) generates less CPU for the same amount of data as say the virus scanning app.

So in this instance you are right, the copy process would not generate enough CPU to get tamed using the current version of PT, but the IO still can make the PC unresponsive to other applications you are running. Hence my suggestion that you could monitor storage IO and have a similar set of storage IO parameters which if exceeded then triggers PT to lower the applications PRIORITY (exactly as now).

Provided you are running more than one application at a time, reducing an applications priority, and hence the amont of CPU it is allowed (or "offered" by the OS), you are doing the same as you suggest - you are "proactively SLOW(ing) DOWN" the application and therefore the amount of IO it can generate, which should/could/may make the system become more responsive to other applications again.

I hope this makes sense :)

Cheers


Nick

Navigation

[0] Message Index

[#] Next page

Go to full version