Bitsum Community Forum

General Category => Process Lasso => Topic started by: Jeremy Collake on December 31, 2014, 03:01:18 AM

Title: SmartTrim PR Draft
Post by: Jeremy Collake on December 31, 2014, 03:01:18 AM
See at:
http://bitsum.com/smarttrim/ (http://bitsum.com/smarttrim/)

Legacy link about virtual memory cleaner scams:
https://bitsum.com/virtual_memory_facts_and_memory_optimizer_scams.php (https://bitsum.com/virtual_memory_facts_and_memory_optimizer_scams.php)

Feedback? Corrections? I am still proof-reading and refining.

Can't wait to get back to code, which I'll be doing after I'm done with this. I've found if I'm gong to sell a product, it's helpful to describe it well!
Title: Re: SmartTrim PR Draft
Post by: BenYeeHua on December 31, 2014, 07:11:11 AM
Yes, what's wrong with the Image?
It is showing another half B for Modified and Standby. :P
---
QuoteWe know users want control over their PCs.
Not sure my English is bad or..
Should not it is "We know users want more control over their PCs"? :)
---
Hmm, not sure did you also want to saying about this, and also provide a workaround that clean the system cache for Windows Vista x64 user?
http://support.microsoft.com/kb/976618 (http://support.microsoft.com/kb/976618)
http://blogs.technet.com/b/markrussinovich/archive/2008/07/21/3092070.aspx (http://blogs.technet.com/b/markrussinovich/archive/2008/07/21/3092070.aspx)
http://blogs.technet.com/b/markrussinovich/archive/2008/11/17/3155406.aspx (http://blogs.technet.com/b/markrussinovich/archive/2008/11/17/3155406.aspx)
http://www.alex-ionescu.com/?p=51 (http://www.alex-ionescu.com/?p=51)

Also this got a good image to showing how's Memory management works after Windows Vista. :)
http://blogs.msdn.com/b/tims/archive/2010/10/29/pdc10-mysteries-of-windows-memory-management-revealed-part-two.aspx (http://blogs.msdn.com/b/tims/archive/2010/10/29/pdc10-mysteries-of-windows-memory-management-revealed-part-two.aspx)
---
QuoteApplications page themselves out all the time

Many applications today page themselves out when they are minimized, or when parts of them go inactive. They do this to reduce their effective RAM footprint. Therefore, for many processes, additional paging out makes little difference. For most all processes, over the long-term, the same amount of RAM is probably consumed regardless of whether it is forcefully paged out or not. After all, over time, the pages it uses are paged in, and the pages it doesn't use are paged out.
This, are there any good ways to stop them doing this?

Because some software like to use this way for showing they has a much smaller memory usage, but the facts is when I open their software from Tray Icon, it always lag because it need to read the data from Page File/Swap with a bad way...

So far I know you can do is to block their API call, but this is beyond my knowledge... :P

TR;DR:Some software like to paged their cached data into Page File, then it will lag when I open the GUI to use them, anyways good ways to stop them keep doing this? :)
Title: Re: SmartTrim PR Draft
Post by: edkiefer on December 31, 2014, 08:05:22 AM
I am little confused with the differances you post for task manager verse resource meter .
""Is your RAM NOT completely and fully utilized already? If not, you're good. (see the Windows Resource Monitor, or subtract the 'cached' RAM from the 'free' RAM in the Windows Task Manager)""
Why subtract in task manager, for me in Win7 it matches resource monitor both have same free value and cached = modified+standby , both have same cached values .I think it is Available- cached = real free .
Title: Re: SmartTrim PR Draft
Post by: Jeremy Collake on December 31, 2014, 12:33:40 PM
When I wrote that, I think I was still using the XP Task Manager. Not sure, but I'll clean it up.

Yes, 'more' control is better than control ;).

We'll talk about caches and what effect this has on them in time, I do need to mention that.

Thanks guys, I'll review these comments and continue refinement of this PR.
Title: Re: SmartTrim PR Draft
Post by: Jeremy Collake on December 31, 2014, 12:35:36 PM
@Ben, that is a good image!

(https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-30-25-metablogapi/4370.pagelists_5F00_thumb_5F00_06B50C58.png)
Title: Re: SmartTrim PR Draft
Post by: BenYeeHua on December 31, 2014, 01:47:35 PM
Yup, but then you need to explain about Zero Page then, just kidding. :D

Anyways, Modified Page = Data that has been TRIM from working set, and waiting for writing to Page File after it reach 100-200MB, if I am right. :)
Title: Re: SmartTrim PR Draft
Post by: Jeremy Collake on December 31, 2014, 02:03:11 PM
Yea, that's part of the problem here.

I can only go so deep before I would lose the audience. I mean, most engineers don't understand the workings of the Windows virtual memory subsystem from top to bottom.

SO, the idea here is to present an accurate overview - mostly dispelling why classic RAM optimizers are such bunk, and why SmartTrim might be useful.

The legacy article, like many legacy articles, was terribly written - i need to rewrite it. Focus on SmartTrim page, let's see if we can describe this in a handful of paragraphs.
Title: Re: SmartTrim PR Draft
Post by: BenYeeHua on December 31, 2014, 02:07:38 PM
Yup, too deep then people will be scare away. :)

Anyways, something you may interesting, the cost.
http://randomascii.wordpress.com/2014/12/10/hidden-costs-of-memory-allocation/ (http://randomascii.wordpress.com/2014/12/10/hidden-costs-of-memory-allocation/)
Title: Re: SmartTrim PR Draft
Post by: Jeremy Collake on January 04, 2015, 05:28:39 AM
Added

SmartTrim

So what does SmartTrim do differently? Well, it acts conservatively and with sophisticated selectivity. It doesn't force everything out of memory all at once. It politely asks memory hogging background processes to release their working sets. It has many other criteria built in, such as never trimming the application you're actively engaged with. This, and more, make it the first truly intelligent RAM optimization algorithm ever conceived - and it's about time! I mean, all we're doing here is not being dumb about RAM optimization.


Title: Re: SmartTrim PR Draft
Post by: BenYeeHua on January 04, 2015, 09:07:55 AM
Quotesuch as never trimming the application you're actively engaged with
Hmm...
This,  what's time it will be TRIM after the foreground process become background process when I just click ALT - TAB to check for other windows for awhile? :)
Title: Re: SmartTrim PR Draft
Post by: Jeremy Collake on January 04, 2015, 12:14:10 PM
Since the trims are presently scheduled, that action would have to correspond with the second of the scheduled trim. If the algorithm changes, I'll add a safety for that. Good thought though BenYeeHua :)
Title: Re: SmartTrim PR Draft
Post by: BenYeeHua on January 04, 2015, 12:48:36 PM
Quote from: Jeremy Collake on January 04, 2015, 12:14:10 PM
Since the trims are presently scheduled, that action would have to correspond with the second of the scheduled trim. If the algorithm changes, I'll add a safety for that. Good thought though BenYeeHua :)
Yup, I guess only if the user is unlucky, then it will be TRIM after they switch the window. ::)
Title: Re: SmartTrim PR Draft
Post by: Jeremy Collake on January 04, 2015, 01:13:37 PM
Not anymore, safety catch to be added, thanks to your suggestion :)
Title: Re: SmartTrim PR Draft
Post by: BenYeeHua on January 05, 2015, 05:30:39 AM
You may need to know, I am a bit crazy on safety and optimize(or like to make something prefect, step by step), so be careful about that. ;)
Title: Re: SmartTrim PR Draft
Post by: Jeremy Collake on January 05, 2015, 05:32:35 AM
You know I do.

Caution is the name of the game.

The #1 rule of PC Optimization is not to make matters worse.

Ironically, most all competitors in our industry break this rule. They just 'do stuff' they can claim has an impact. We prove (https://bitsum.com/about_probalance.php) our tech here at Bitsum.
Title: Re: SmartTrim PR Draft
Post by: BenYeeHua on January 05, 2015, 01:22:22 PM
QuoteIronically, most all competitors in our industry break this rule. They just 'do stuff' they can claim has an impact. We prove our tech here at Bitsum.
Just like the secret ingredient, who know it is really a taste secret ingredient that made by them or it is just a placebo for letting you think that, you are eating a taste "secret" ingredient which you can found on the mini market. ;)
Title: Re: SmartTrim PR Draft
Post by: Jeremy Collake on January 05, 2015, 01:25:15 PM
True. Good analogy!