Show the process icons be disabled by default? (speed increase, less RAM)

Started by Jeremy Collake, July 11, 2011, 10:30:13 AM

Previous topic - Next topic

Show the process icons be disabled by default?

Disable them by default. The user can turn them on later.
2 (33.3%)
Keep them enabled by default. I never noticed any performance trouble
0 (0%)
Keep them enabled by default, but keep working to make them faster - maybe a secondary cache
4 (66.7%)

Total Members Voted: 6

Jeremy Collake

As many may notice, the process icons gradually fill. This is because we do not want to overload the disk with I/O when Process Lasso's GUI is loading. It would be better to do without the process icons (an option in the View menu). The 'Active Processes' tab has no icons, for instance. These icons occupy considerable RAM and must be retrieved from the disk.

This is a change I am seriously considering in this next build, so please let me know your opinions ;). As always, this software is for YOU!
Software Engineer. Bitsum LLC.

edkiefer

I never really checked what options in PL view affect resources . For me disabling icons saves like 2k in working set . I always have icon enabled though its not real important with name and descriptions right on the line .
The Graph enable/disabled shows biggest change, this being disable does seem faster where icons I don't really feel a difference expect for memory count . Graph seems to eat like 1/2 of the total so bigger chunk .

I personally think option3 , although all are really fine as long as option is there to turn on/off .

Ed
Bitsum QA Engineer

Hotrod

Sometimes I find things running that give poor descriptions or no evidence at all what they are or where they came from. I could probably use the tools included in PL or a hard disk search, but having an icon can be quicker for a novice to identify. Once I know what everything is and what it does, I usually turn off these icons on my slower(resource challenged) machines. Having them as an option helps alot for quick identification. I think you should keep them as they are and allow the user to enable/disable as needed(IMHO). 8)

P.S. Yes the graph seems to use up much more resources on my challenged machines than the icons do. I also kill the graph once i have things set the way i want them.

ViPirate

I like to answer with 2 others quest...
Why we are using ProLasso? If the icons wont there what difference makes on program, even on small numbers?
Well honestly, I dont believe most people get the program to change the default strings, so the icons are just an extra small feature to help on improvement! For the others like me, why we really need the icons if we are lock forward to speed up or releast memory
Like this was only an extra opinion! Cheers
[URL=[url="http://s391.photobucket.com/albums/oo352/ViPirate1/ViPgliters/?action=view&current=animeted-tyrael.gif"]http://s391.photobucket.com/albums/oo352/ViPirate1/ViPgliters/?action=view&current=animeted-tyrael.gif[/url]][/URL]

Jeremy Collake

The icons are mostly an issue on the first load of the GUI, but also slow things down every time it has to add a process to the listview.

You are right that the graph is otherwise the big resource eater. I am working on more ways to optimize it (always am), though it is already pretty optimal. As with all 'fancy pants' things this takes resources.

Fortunately all these things can be disabled with Process Lasso. Perhaps I should create a SINGLE option to run in 'MINIMAL RESOURCE' mode.. Hmm...
Software Engineer. Bitsum LLC.

edkiefer

Quote from: jeremy.collake on July 13, 2011, 01:18:48 AM
The icons are mostly an issue on the first load of the GUI, but also slow things down every time it has to add a process to the listview.

You are right that the graph is otherwise the big resource eater. I am working on more ways to optimize it (always am), though it is already pretty optimal. As with all 'fancy pants' things this takes resources.

Fortunately all these things can be disabled with Process Lasso. Perhaps I should create a SINGLE option to run in 'MINIMAL RESOURCE' mode.. Hmm...
Ok, only time I see anything remotely slow is when GUI loads , the icons take split sec or so to load ,but minimize/close/open GUI I don't really notice much there (thats why I just leave them on ).
I think your doing great on it as I remember the graph was little laggy, now seems better .
adding another option to run with more things off (graph/icons etc ) I guess be good to, then again ultimate resource cutter is not to even load GUI at all  :)
Bitsum QA Engineer

Jeremy Collake

Quote from: edkiefer on July 13, 2011, 10:19:03 AM
Ok, only time I see anything remotely slow is when GUI loads , the icons take split sec or so to load ,but minimize/close/open GUI I don't really notice much there (thats why I just leave them on ).
I think your doing great on it as I remember the graph was little laggy, now seems better .
adding another option to run with more things off (graph/icons etc ) I guess be good to, then again ultimate resource cutter is not to even load GUI at all  :)

I should note that the slow/gradual process icon load is intention, trying to space out the load time. That is why they gradually fill up, just to be clear. I do not want to overwhelm the system, as users typically open the software during high system loads. The side effect is that it makes the loading appear oddly slow and inefficient. I need to put this in the FAQ. You likely know this, I was just clearing this up for any readers who read this outta context or wrong.
Software Engineer. Bitsum LLC.

Jeremy Collake

While experimenting in v5.0.0.37 (unreleased), I found a flag to force using the 'fallback' process icon in situations where the process icon retrieval would take a while. What this means is that I can go and use the last cached icon and not go retrieve it from disk if the system considers that a slow process. This has proved to be a huge speed boost. The downside is that the last cached icon might be wrong, but that's unlikely. It can later be updated with whatever non-cached icon is eventually retrieved. This also fixes the issue where processes without icons had blanks - now they have 'default no-icon' icons. The downside is more RAM is used. I am taking a closer look at my multi-instance icon reuse to see what else I can do. I believe the 'no icon, icons' are not getting re-used right and this will mitigate the icon RAM use increase.

I am glad I switched to this newer, more complex mechanism of icon retrieval. I knew it would come in handy. There is a 'simple' way to do it with one API call. Then there is this way ;).
Software Engineer. Bitsum LLC.

edkiefer

Bitsum QA Engineer

Jeremy Collake

The 'shell' is what is responsible for looking up icons for whatever (files, drives, devices, ...). Your web browser itself is a little different as web page icons are retrieved from a file called favicon.ico on the web server, and cached in the web browser file cache. So, I depends on your perspective I guess.
Software Engineer. Bitsum LLC.

edkiefer

Bitsum QA Engineer

Jeremy Collake

Yea, if the icons all over your PC weren't cached, there would be a lot more I/O, to say the least. Sadly, one of the most common things to 'screw up' on a PC is the shell icon cache. In fact, I've considered adding a function to Process Lasso to force this cache to rebuild. However, this seems outside the range of Process Lasso, so I may put it in a new collection of freeware tools likely called 'Bitsum Functions'. Just a random collection of PC maintenance stuff that doesn't belong in Process Lasso but is too easy not to offer.
Software Engineer. Bitsum LLC.

Jeremy Collake

I was thinking about it, and you were probably also referring to images of all types cached from web pages. I hear icon and think of a specific image type. Definitely the caching concept is the same, except in one case network I/O is trying to be avoided and in the other case disk I/O is being avoided. For web browsers there are actually two caches, a memory and a disk cache, and both are used to avoid the slower network I/O whenever possible. There are multiple layers of overlapping caches cascading throughout any modern PC, from the highest level to the lowest. Making these caches operate as efficiently as possible is a big factor in system performance.
Software Engineer. Bitsum LLC.