Multiple instances to allow for different process priorities?

Just wondering if it was possible to have multiple instances of Avedesk instead of just the one? The reason I ask is currently I run avedesk at below normal priority so it doesn't take cpu cycles from other programs. Problem is I'm using the OSX volume indicator (AveScripter) and would like that desklet to be normal priorty if possible.

#381167

Just ran two myself to see. Without a problem. Interestingly, whether intended or not the second version came in substantially lower in resouces even though it was identical?

The only conflict I could see is when you boot up and/or shut down. You probably would want a delay on the second (subsequent) version?

#381182

That's a good idea.

Since AveDesk runs each desklet in its own thread, we should add the possibility to adjust the thread priority for each desklet separately. Then you could run a single instance, set all desklets except volume to below normal.

Also, with all this dual cores and hyperthreaders around, we should provide a setting to assign a desklet to a CPU...

Thinking even further, most users still run as admins. The user should be able to restrict a desklet to a lower account (for safeguarding malicious scripts).

#381199

That's a good idea.

Since AveDesk runs each desklet in its own thread, we should add the possibility to adjust the thread priority for each desklet separately. Then you could run a single instance, set all desklets except volume to below normal.

Also, with all this dual cores and hyperthreaders around, we should provide a setting to assign a desklet to a CPU...

Thinking even further, most users still run as admins. The user should be able to restrict a desklet to a lower account (for safeguarding malicious scripts).

That level of customisation out of the box would be great. SirSmiley I simply didn't try duplicating the directory and running a second program. Works great thanks for the suggestion. Got it running nicely now with 2 Avedesk.exe running how I would like (being sure not to overwrite the currenttheme default save location for my primary instance to within the avedesk directory. Presumably memory usage is higher this way than being able to adjust priorities for each desklet within one instance but it seems fine to me. Who would have thought it would be so simple, silly me..:P

#381201

Hmmm.. I'll look into the possiblity for avescripter set his priority. Top priority, I like this idea alot. Also will look into the "security" issue. As is.. Scripter could be very "dangerous".

Running 2 version of avedesk is just uses more memory.

#381269

....As is.. Scripter could be very "dangerous".

Thanks for the heads up. I guess a temp work-a-round would simply be (depending on needs) to maybe create a second AveDesk Directory absent the scripter. Obviously this depends on a person's needs/wants.

Running 2 version of avedesk is just uses more memory.

Amazingly enough it still beats Y!Gadgets (only 4 widgets open =70mb for me). ;)

#381324

70 megs? Thats VM size or Mem size? And thats for avedesk?

Well.. if there is enough intereset, I could do a "volume" app completely seperate. EXE.

#381326

I was planning to include a "desklet to EXE" thing for avedesk2. I might talk to pcm to give it a go on this one.

#381368

That would be cool.

But I'll look into making a seperate exe if I get "enough" requests. That would avoid loading extra stuff that aren't really needed. Like the scripting engine.

Could have it really lite version.

#381379

Of course not for AveDesk that's for gadgets & regular memory.

The most I've ever seen AveDesk (under normal use) at was around 40mb memory when working on a sidebar style desklet/config...umm for obvious reasons.

Always thought the exe was a good idea.

#381420

Good news, next version of avescripter will have an option to set the process/thread priority for each avescripter desklet. :)

#382506

Sweet... Man - you're really on the ball pcm! :D

#382771

Latest beta version 1.0.5.7 now has thread priority you can set for each avescripter skin. Right click and look in the properties.

#385247

Thanks. :)

PS. Shouldn't you be working on your new house by now. :P;)

#385286

May 15 is the new house day. So I got a few more days to go :)

#385295

Wow! Thanks for this pcm! This is awesome. Now my volume meter can take priority over my 7-zip compressing... (god I'm such a nerd :P).

pcm = :cool:

#385430