PDA

View Full Version : Low priority switch for PgcEdit?


Chetwood
11th May 2005, 10:08
As you guys already know I love multitasking and when I'm using PgcEdit to make ISOs after adding selfmade menus to my DVDs I'd like to be able to surf the net or listen to mp3s or something in the meantime. Currently PgcEdit seems to drain a lot of cpu cycles cause everything else done during that time slows done notably. And of course I don't want to have to use the task manager to set the thread priority manually.

So r0lZ, do you think you could add a function similar to DVD Shrink's "Run analysis and backup in low priority mode to improve multitasking"? TIA!

r0lZ
20th May 2005, 10:21
I'm not sure the problem comes form the priority. When writing the ISO, there is a lot of disc access slowing down the other programs, and that is independent of the PgcEdit's process priority.
Furthermore, I don't think there is a way to change the process priority with Tcl/Tk. I will have a look, though.

I like PowerMenu (http://www.veridicus.com/tummy/programming/powermenu/) to change easily the priorities. It adds some options in the system menu of all windows, including an option to change the priority of the program.

Chetwood
20th May 2005, 12:14
Originally posted by r0lZ
When writing the ISO, there is a lot of disc access slowing down the other programs, and that is independent of the PgcEdit's process priority.

Naturally, however since I have those other programs loaded into memory - which I do have enough of - they do not need to access the HD cause all the stuff is in memory already. Still you may be correct that the point to start at would be to check whether mkisofs could be giving a lower priority so that the disc access is "slower". Gonna check out that tool you mentioned, of course built-in solutions rock ;)

r0lZ
20th May 2005, 13:12
I have verified in the Tcl/Tk manual. Unfortunately, there is nothing to change the priority of the current app or of a new processes started via a Tcl script (unless you use a Unix command line 'nice'). So, I cannot add a priority option in the burn dialog.

Anyway, when mkisofs is writing the ISO, most of the time his process is idle, waiting for the disk access to finish. This should leave enough CPU power for the other programs.

Note that I'm not sure you will be able to change the mkisofs priority when it is running with PowerMenu. You should change the priority of PgcEdit before entering the Burn dialog. Mkisofs will probably inherit the current priority.

DVDDecrypter burns the image in high priority, and this is a good thing. Do not change that, or you may experience some buffer underruns.