- Joined
- Feb 18, 2009
- Messages
- 1,825 (0.31/day)
- Location
- Slovenia
System Name | Multiple - Win7, Win10, Kubuntu |
---|---|
Processor | Intel Core i7 3820 OC@ 4.0 GHz |
Motherboard | Asus P9X79 |
Cooling | Noctua NH-L12 |
Memory | Corsair Vengeance 32GB 1333MHz |
Video Card(s) | Sapphire ATI Radeon RX 480 8GB |
Storage | Samsung SSD: 970 EVO 1TB, 2x870 EVO 250GB,860 Evo 250GB,850 Evo 250GB, WD 4x1TB, 2x2TB, 4x4TB |
Display(s) | Asus PB328Q 32' 1440p@75hz |
Case | Cooler Master CM Storm Trooper |
Power Supply | Corsair HX750, HX550, Galaxy 520W |
Mouse | Multiple, Razer Mamba Elite, Logitech M500 |
Keyboard | Multiple - Lenovo, HP, Dell, Logitech |
Welcome to the thread where i try to ... discover something new or just learn the possiblities already outthere but hard-to-find.
Basically first notes are:
- Never trust Task manager graphs/certain values, they are inaccurate and show something else (unknown)
- Talking about multiple things separated with ---- (but it's basically same topic / stuffs connected)
- I have mistakenly called Resource Monitor (shown in pics and talked about in this whole thread) a "perfmon" ... PERFormance MONitor is something else ... not yet there (but both have same exe icon)
The wrong task manager values got me confused again and i was making all up in my head "oh theres probably a hidden pagefile win7 damit" so i got onto cheching the LORE again ... ... and recalled my findings again , ... a lot of typing saved.
------------------
Anyways there is this "trend" of incaccuracies between diagnostic/info programs and win7perfmon , but it's really that they're showing different stuff , some are showing "in use" memory, some are showing "commit charge". So it's all about digging up what is what and calculating.
However, most, most programs do not have capability to detect "NO PAGEFILE" , if there's a pagefile to show , they will show fake/wrong information and somehow mix it weirdly , that goes for games too, SC2 for example has no idea that im without pagefile and when i send error report when a crash occured it was quite BIZZARE! (heh) , first , i just can't find a diagnostic info "super duper exe program whatever" that would show ACCURATE pagefile values when the pagefile is totally disabled. Games whould have ran much better if they would be able to differentiate and maybe use different approach with physical-only memory , .. for example could disable those "compensating" features or how do you want to call them , which would allow the game to just uses as much as physical is possible and run as fast as possible. >> ID Tech 5 anyone
... we'll see.
YOu can find useful information in the other thread , which is also from what this thread will be continuing. Useful pictures there for explanation but i could made some new ones for this topic (cause that's mixed with sc2)
(more info about sc2 here, useful but not necessary)
That "disabling of the windows 7 standby memory (cache/mapped file)" was actually because of "elimination of variables" for my starcraft tests to go further, it was never meant to be used for PC tweaks/testing; since i leanred what this cache really is (yes, it's the one in memory, and if apps need that memory, it gets cleared so it's practically "free" memory)
Appreciated and well, you had most of it correct while i wasn't sure at the time, even tho you are correct 100% , this time around im having no other issue with any game , im just trying to squeeze out the performance as much as possible! 6GB Ram should be enough for anything (but i don't run video editing or anything heavy like that)
Simple explanation before we go further:
-------------------------------
SOMETHINGS CONFUSING ME:
(low-priority)
-----------------------
NEW STUFF I FOUND:
http://smallvoid.com/article/winnt-system-cache.html
Probably valid for Win7 too i think. Win7 just had all that improved in terms of "using the useless free ram" - but it's the control im after, settings to control it.
Get DnyCache here
Get RAMMap here
I don't think all these ambitions would be possible without RAMMAP, that's a golden app, email those guys at sysinternals for updated version!(i will anyways), latest one is old a little less then a year now.
--------------------------
SOMETHING I FORGOT:
Summary: LargeSystemCache analyze ... which i made because i forgot ... but now i recalled , this should be disabled if it's not a server machine.
(non-critical)
Other people areeed too ... up until now i always got reports of "largesystemcache" being good ... that's the setting in advanced system setting about "optimize for Programs or background services" .... but now im readin and probably realizing ofcourse ... it is really because of an ILLUSION , it doesn't make difference when there's no pagefile , because "largesystemcache" just filled up the pagefile in those "single core" XP times when they thought a dual core wouldn't have this problem but it turns out it's because it was filling up in pagefile so that's why it made it more laggy, and microsoft is always talking with pagefile enabled in mind (i really hate this thing)
UF... LargeSysCache is not CPU scheduling , it's a similar setting but it's something else , and the dialog is missing , maybe that was in vista, basically i have CPU scheduling set to "Programs" and LargeSystemCache disabled in registery ... (i did stuff long time (months) ago so im trying to recall everything
)
This is not present in win7 as an option ... ah the confusion but i know somehow it shows if you enable ro what ah... forgot
... SO basically i did research it back then, and i still had it disabled , good ... so okay.
This simple thing says it (more explanation on that smallvoid site). And that's definitely what im trying to aviod. (performance!)
(non-critical)
------------------------------------------------
A LOT OF WEBSHIT: (or honest mistakes
)
Summary: How is the mainstream wrong about Pagefile/Commit Charge and the general inability of detecting correct pagefile values when a pagefile doesn't exist.
-------------------------------------
ADVANCED CACHING POSSIBILITES:
(high-priority! I want this badly! So far very doubtful if it's possible)
Summary: Rammap --> Disabling or having control of the caching automation systems?
[Why only 188kb
]
Why wouldn't we be able to choose to "cache" a whole file instead of that automated caching algorithm that takes small chunks of A LOT of files, pretty much stuff that i used previously and not in use for like hours ... but i know this has no negative effect , the point here is , it could have A REALLY BIG POSITIVE effect if i would have the customization to cache A WHOLE PROGAM INSTALL FOLDER MUHUHAHAAH !!!!
I have a few questions and possibly do my own research into if actually is possible to customize win7 cache manager.
One of the most obviousy things is:
-selecting which files/folders NOT to cache
-selecting which files/folders to FORCEFULLY ALWAYS cache
-selecting percent of total file/folder size to cache ( if this thing is working in the way i see it now)
I would simply select a file like the one aboive in picture, and set "magic option" to 100% and it would not cache like 188kb of that file , but the whole 18.xxx MB of it
. That would be awesome.
You would just end up loading your windows for like about 20-30 seconds longer if there would be an option to set what stuff load at what time (not the automatic way of gradual expanding it's doing now) , i would set not to cache ANYTHING else at all only those folders/files that i specified and those would be pre-loaded.
If that's possible then , this should be really great. just imagine
Which basically is: Replacing 2.5 GB of "a lot of files with small caching" with "a lot less files with full caching" ... i can't see that breaking something or making it crash (windows) , it's so simple , the system won't see the difference
So like ... that's so so similar to how superfectch works but ... that's only for EXEs , althought it's a very similar thing, ... or maybe in the end we'll sjust found a way to tweak the superfetch in that way. hmmm
---------------------------------
CUSTOMIZATION IN REGISTERY:
There's something great i found is named DynCache , it's an service that makes some more advanced registery edits , which is what i was looking for , but i'll work with this later, enough for now...
The other things i did before was SessionPoolSize and SessionViewSize and SystemPages increase , i forgot where was the calculation about how to set it properly , i didn't overkill of course it was a slight increase which would make system more flexible in low-memory, basically more memory "reservation/share" for WIN7 than for programs/apps (or i just won't search a 200 of bookmarks
...later)
-----------------------
CONCLUSION NOTES:
In terms of what am i working with: is really not any SuperFectch or LargeSystemCache at play here , that's all disabled, it's the low-level integrated memory management of windows that's all at play here and that's what im after , just for everyone be all clear. It cannot be completely disabled as i firstly discovered.... but it's good stuff , [[[it's just lacks options and features for customization!]]] <<<< off to actually find out if!
Specs:
----------------
Finishing remarks:
I really hate Win7 Paint , it's quick but it's so awkward/annoying !
The biggest hatred is probably the unresponsive UI - window lags , im trying to improve that as much as possible, because stuff like this makes me extremely annoyed by far mostly only this if you ask me about PCs
, i hate UI lags. (ofcourse win7 has like 90% improvement over XP, but only if you disable pagefile the difference becomes huge)
STATUS:
- Currently getting DnyCache service to work
Basically first notes are:
- Never trust Task manager graphs/certain values, they are inaccurate and show something else (unknown)
- Talking about multiple things separated with ---- (but it's basically same topic / stuffs connected)
- I have mistakenly called Resource Monitor (shown in pics and talked about in this whole thread) a "perfmon" ... PERFormance MONitor is something else ... not yet there (but both have same exe icon)
The wrong task manager values got me confused again and i was making all up in my head "oh theres probably a hidden pagefile win7 damit" so i got onto cheching the LORE again ... ... and recalled my findings again , ... a lot of typing saved.
------------------
Anyways there is this "trend" of incaccuracies between diagnostic/info programs and win7perfmon , but it's really that they're showing different stuff , some are showing "in use" memory, some are showing "commit charge". So it's all about digging up what is what and calculating.
However, most, most programs do not have capability to detect "NO PAGEFILE" , if there's a pagefile to show , they will show fake/wrong information and somehow mix it weirdly , that goes for games too, SC2 for example has no idea that im without pagefile and when i send error report when a crash occured it was quite BIZZARE! (heh) , first , i just can't find a diagnostic info "super duper exe program whatever" that would show ACCURATE pagefile values when the pagefile is totally disabled. Games whould have ran much better if they would be able to differentiate and maybe use different approach with physical-only memory , .. for example could disable those "compensating" features or how do you want to call them , which would allow the game to just uses as much as physical is possible and run as fast as possible. >> ID Tech 5 anyone

YOu can find useful information in the other thread , which is also from what this thread will be continuing. Useful pictures there for explanation but i could made some new ones for this topic (cause that's mixed with sc2)
(ignore the Starcraft 2 connections , it was a "crossfire", that turned out to be the game's own problem, it's a very buggy, laggy and unoptimized game, plus the singleplayer memory management is screwed up, makes a small memory leak noticable only in certain circumstances (4GB Ram + disabled pagefile + system (system base mem was in my case at requirement of 700MB while default win7 install is 1100MB ... i disabled useless services and had registery tweaks ... i could have tweaked to even lowe sys mem req. but that would be impractical as a longterm solution for me ... )
That "disabling of the windows 7 standby memory (cache/mapped file)" was actually because of "elimination of variables" for my starcraft tests to go further, it was never meant to be used for PC tweaks/testing; since i leanred what this cache really is (yes, it's the one in memory, and if apps need that memory, it gets cleared so it's practically "free" memory)
read up on how cache manager works first, once you understand it, ask yourself if you really want to disable it
http://codesurgeonblog.com/2009/11/windows-cache-manager-quick-overview.html
memory mapped files are a base os function related to file access .. google it up
disabling the pagefile is actually counter productive when memory is low. with pagefile enabled windows will page out memory pages that havent been used for a long time (which means they probably wont be used soon).
in windows 7, the memory manager will page out least-recently-used pages of a program that seems to be continously growing because of a memory leak (like your star craft 2 example).
if you a running something like the print spooler service and never use it it will get paged out to disk ONLY IF YOU HAVE A PAGEFILE. otherwise it will always consume memory that could be used as disk case or for currently active applications.
read up on how "working set" works in the windows nt architecture. the number you see in task manager for memory use is not really accurate
windows internals books from microsoft press are also a great read, or look for mark's recent presentations
Appreciated and well, you had most of it correct while i wasn't sure at the time, even tho you are correct 100% , this time around im having no other issue with any game , im just trying to squeeze out the performance as much as possible! 6GB Ram should be enough for anything (but i don't run video editing or anything heavy like that)
Simple explanation before we go further:

-------------------------------
SOMETHINGS CONFUSING ME:
(low-priority)
How can be a single file , loaded into memory , active in 30% and the rest being in standby ? ... but that is just weird , so if that "standby space" gets needed , would half of the file just cutoff and "active" would remain in the memory (in use) ? Is it like physically separate or just "tagged" as standby .... maybe that standby isn't corresponding to "mapped file" in RAMMap and the whole file is supposed to be in "In use" (or Commit charge , the stuff that's not free/available) but it's just another context of the word "standby" - i guess ?
... to be continued (have something to add ) ... if there's like a DUPLICATE of the same file inside "inuse" and inside "standby" ,... if this is true then that pretty much breaks the purpose and makes caching useless.
Let's leave this for ... later ... this is not a high priority now.
How can be a single file , loaded into memory , active in 30% and the rest being in standby ? ... but that is just weird , so if that "standby space" gets needed , would half of the file just cutoff and "active" would remain in the memory (in use) ? Is it like physically separate or just "tagged" as standby .... maybe that standby isn't corresponding to "mapped file" in RAMMap and the whole file is supposed to be in "In use" (or Commit charge , the stuff that's not free/available) but it's just another context of the word "standby" - i guess ?

... to be continued (have something to add ) ... if there's like a DUPLICATE of the same file inside "inuse" and inside "standby" ,... if this is true then that pretty much breaks the purpose and makes caching useless.
Let's leave this for ... later ... this is not a high priority now.
-----------------------
NEW STUFF I FOUND:
http://smallvoid.com/article/winnt-system-cache.html
Probably valid for Win7 too i think. Win7 just had all that improved in terms of "using the useless free ram" - but it's the control im after, settings to control it.
Get DnyCache here
Get RAMMap here
I don't think all these ambitions would be possible without RAMMAP, that's a golden app, email those guys at sysinternals for updated version!(i will anyways), latest one is old a little less then a year now.
--------------------------
SOMETHING I FORGOT:
Summary: LargeSystemCache analyze ... which i made because i forgot ... but now i recalled , this should be disabled if it's not a server machine.
(non-critical)
Microsoft recommends that the LargeSystemCache setting be used only for systems that are primarily used as servers. For workstation use it will almost always be bad
Other people areeed too ... up until now i always got reports of "largesystemcache" being good ... that's the setting in advanced system setting about "optimize for Programs or background services" .... but now im readin and probably realizing ofcourse ... it is really because of an ILLUSION , it doesn't make difference when there's no pagefile , because "largesystemcache" just filled up the pagefile in those "single core" XP times when they thought a dual core wouldn't have this problem but it turns out it's because it was filling up in pagefile so that's why it made it more laggy, and microsoft is always talking with pagefile enabled in mind (i really hate this thing)
UF... LargeSysCache is not CPU scheduling , it's a similar setting but it's something else , and the dialog is missing , maybe that was in vista, basically i have CPU scheduling set to "Programs" and LargeSystemCache disabled in registery ... (i did stuff long time (months) ago so im trying to recall everything

This is not present in win7 as an option ... ah the confusion but i know somehow it shows if you enable ro what ah... forgot

... SO basically i did research it back then, and i still had it disabled , good ... so okay.
Note the LargeSystemCache is allocated from kernel memory area, which is shared with the pagedpoolsize and systempages.
This simple thing says it (more explanation on that smallvoid site). And that's definitely what im trying to aviod. (performance!)
------------------------------------------------
A LOT OF WEBSHIT: (or honest mistakes

Summary: How is the mainstream wrong about Pagefile/Commit Charge and the general inability of detecting correct pagefile values when a pagefile doesn't exist.
An example of a program that is a great explnation how many many programs have wrong "Pagefile" values or wrong labels for the given value , this is probably detecting DXDIAG info , DirextX Diagnostic tool is ITSELF reporting wrong Pagefile values with-or-without pagefile , that's because it's not pagefile what your looking at, it's Commit Charge , total difference.
As You can see from the image , that program is really only linking all those settings into one place , and the funny part is, the "Free memory" doesn't even work. It just zeroes some standby stuff i guess but it makes a mess with the graphs too.
Here's the Vista task manager:
For comparrison (pagefile -> commit )

As You can see from the image , that program is really only linking all those settings into one place , and the funny part is, the "Free memory" doesn't even work. It just zeroes some standby stuff i guess but it makes a mess with the graphs too.
Here's the Vista task manager:
For comparrison (pagefile -> commit )
-------------------------------------
ADVANCED CACHING POSSIBILITES:
(high-priority! I want this badly! So far very doubtful if it's possible)
Summary: Rammap --> Disabling or having control of the caching automation systems?

[Why only 188kb

Why wouldn't we be able to choose to "cache" a whole file instead of that automated caching algorithm that takes small chunks of A LOT of files, pretty much stuff that i used previously and not in use for like hours ... but i know this has no negative effect , the point here is , it could have A REALLY BIG POSITIVE effect if i would have the customization to cache A WHOLE PROGAM INSTALL FOLDER MUHUHAHAAH !!!!
I have a few questions and possibly do my own research into if actually is possible to customize win7 cache manager.
One of the most obviousy things is:
-selecting which files/folders NOT to cache
-selecting which files/folders to FORCEFULLY ALWAYS cache
-selecting percent of total file/folder size to cache ( if this thing is working in the way i see it now)
I would simply select a file like the one aboive in picture, and set "magic option" to 100% and it would not cache like 188kb of that file , but the whole 18.xxx MB of it

You would just end up loading your windows for like about 20-30 seconds longer if there would be an option to set what stuff load at what time (not the automatic way of gradual expanding it's doing now) , i would set not to cache ANYTHING else at all only those folders/files that i specified and those would be pre-loaded.
If that's possible then , this should be really great. just imagine
Which basically is: Replacing 2.5 GB of "a lot of files with small caching" with "a lot less files with full caching" ... i can't see that breaking something or making it crash (windows) , it's so simple , the system won't see the difference

So like ... that's so so similar to how superfectch works but ... that's only for EXEs , althought it's a very similar thing, ... or maybe in the end we'll sjust found a way to tweak the superfetch in that way. hmmm
---------------------------------
CUSTOMIZATION IN REGISTERY:
There's something great i found is named DynCache , it's an service that makes some more advanced registery edits , which is what i was looking for , but i'll work with this later, enough for now...
The other things i did before was SessionPoolSize and SessionViewSize and SystemPages increase , i forgot where was the calculation about how to set it properly , i didn't overkill of course it was a slight increase which would make system more flexible in low-memory, basically more memory "reservation/share" for WIN7 than for programs/apps (or i just won't search a 200 of bookmarks

-----------------------
CONCLUSION NOTES:
In terms of what am i working with: is really not any SuperFectch or LargeSystemCache at play here , that's all disabled, it's the low-level integrated memory management of windows that's all at play here and that's what im after , just for everyone be all clear. It cannot be completely disabled as i firstly discovered.... but it's good stuff , [[[it's just lacks options and features for customization!]]] <<<< off to actually find out if!
Specs:
(pasted in)
Win7 x64 ultimate
NOD 32 Antivirus 4.0
CPU: Intel Q9300 2.5ghz stock
GPU: Sapphire ATI Radeon HD4870 512MB
PSU: Enermax 620W Liberty DXX
APU: Asus Xonar D1 PCI
HDD: Western Digital Caviar Black 1000GB 64MB cache SATA3 (WD1002FAEX)
RAM: 6GB - Corsair Dominator 1066mhz DDR2 CL5
MOBO: Gigabyte P35-DS4 rev2.1 Bios-F14
KEY: MS SideWinder X4
MAU: MS SideWinderTM (latest, similar to X5)
SND: Logitech X-540 5.1 Sorround System
Settings Tweaks:
- No Pagefile (HDD virtual memory disabled)
- No Readyboot (not readyboost) - a kind of prefetcher working at boot*
- No Superfetch
- UAC disabled
Registery Tweaks:
-optimized memory management (nothing big , i just increased possible paged/nonpaged pools for better flexibility in low-memory circumstance so games/programs will fail first instead of the drivers/kernel)
-Prefetcher disabled
Service Tweaks:
- Homegroup Disabled
- Win Defender disabled
- Win Firewall disabled
- Win Search disabled (all indexing)
- Win Update disabled (manual updates every month)
Win7 x64 ultimate
NOD 32 Antivirus 4.0
CPU: Intel Q9300 2.5ghz stock
GPU: Sapphire ATI Radeon HD4870 512MB
PSU: Enermax 620W Liberty DXX
APU: Asus Xonar D1 PCI
HDD: Western Digital Caviar Black 1000GB 64MB cache SATA3 (WD1002FAEX)
RAM: 6GB - Corsair Dominator 1066mhz DDR2 CL5
MOBO: Gigabyte P35-DS4 rev2.1 Bios-F14
KEY: MS SideWinder X4
MAU: MS SideWinderTM (latest, similar to X5)
SND: Logitech X-540 5.1 Sorround System
Settings Tweaks:
- No Pagefile (HDD virtual memory disabled)
- No Readyboot (not readyboost) - a kind of prefetcher working at boot*
- No Superfetch
- UAC disabled
Registery Tweaks:
-optimized memory management (nothing big , i just increased possible paged/nonpaged pools for better flexibility in low-memory circumstance so games/programs will fail first instead of the drivers/kernel)
-Prefetcher disabled
Service Tweaks:
- Homegroup Disabled
- Win Defender disabled
- Win Firewall disabled
- Win Search disabled (all indexing)
- Win Update disabled (manual updates every month)
----------------
Finishing remarks:
I really hate Win7 Paint , it's quick but it's so awkward/annoying !
The biggest hatred is probably the unresponsive UI - window lags , im trying to improve that as much as possible, because stuff like this makes me extremely annoyed by far mostly only this if you ask me about PCs

STATUS:
- Currently getting DnyCache service to work
Last edited: