Author Topic: if the Comodo DiskShield can set its cache area in the RAM only?  (Read 43396 times)

Offline panic

  • Global Moderator
  • Comodo's Hero
  • *****
  • Posts: 11823
  • Linux is free only if your time is worthless.;-)
Re: if the Comodo DiskShield can set its cache area in the RAM only?
« Reply #15 on: December 16, 2008, 04:31:13 AM »
IMHO, for the vast majority of users, while utilising a RAM cache for Disk Shield would improve its performance, it would do so at the expense of overall system throughput, as you would be reducing the amount of RAM available to the rest of the O/S and any running apps. All this would do is force more extensive and more frequent use of the paging file, which dumps us back in the realm of writing to disk, which is exactly what we are trying to avoid.

I don't think it will happen, as you wold then have people complaining that their system slowed down too much.

Ewen :-)


As your mums would say, "If you can't play nice with all the other kiddies, go home".
All users are asked to please read and abide by the  Comodo Forum Policy.
If you can't conform, don't use the forum.

Offline distance

  • Comodo Member
  • **
  • Posts: 42
Re: if the Comodo DiskShield can set its cache area in the RAM only?
« Reply #16 on: December 16, 2008, 11:32:12 AM »
IMHO, for the vast majority of users, while utilising a RAM cache for Disk Shield would improve its performance, it would do so at the expense of overall system throughput, as you would be reducing the amount of RAM available to the rest of the O/S and any running apps. All this would do is force more extensive and more frequent use of the paging file, which dumps us back in the realm of writing to disk, which is exactly what we are trying to avoid.

I don't think it will happen, as you wold then have people complaining that their system slowed down too much.

Ewen :-)



It's just a mode, an option, if you don't have a large RAM, you can use another mode like disk caching. A real RAM caching mode will be popular for two reasons: one is large RAMs are very cheap, two is SSD will replace the traditional harddisk.
« Last Edit: December 16, 2008, 11:37:15 AM by distance »

Offline Pho3NiX

  • Newbie
  • *
  • Posts: 22
Re: if the Comodo DiskShield can set its cache area in the RAM only?
« Reply #17 on: December 16, 2008, 08:56:13 PM »
Hi all

If your use of xp Fit corresponding Microsoft Eula you can use ms own ewf
(Enhanced Write Filter)

This will effectively map all write to ram.
Documentation is there: http://msdn.microsoft.com/en-us/library/ms912906.aspx


Here's a very complete ressource for those wanting to run XP from a CF card
http://granturing.blogspot.com/

You are probably interested in the post of December 3 and 18 2007
they show you how to:
* install ewf
* set windows to minimize useless write access
* enable / disable & commit ewf without reboot
* hibernate

You should also be careful about automatic defrag and such....


here's the thread that started it all...
http://www.mp3car.com/vbulletin/winnt-based/37078-using-ewf-regular-winxp.html


I've also found this one
http://www.theacerguy.com/2008/11/aspire-one-ssd-vista-with-ewf-recommends-15gb-ram-2/
(caution the reg file is the minimum to make it work, no less writing optimisation)


Hope this help...

This being said.... waiting for a 3rd party software such as comodo is you best bet...


[edit]

Or you can choose FBWF solution
http://msdn.microsoft.com/en-us/library/aa940808(WinEmbedded.5).aspx
http://www.aspireoneuser.com/forum/viewtopic.php?f=6&t=179
« Last Edit: December 16, 2008, 09:10:15 PM by Pho3NiX »

Offline distance

  • Comodo Member
  • **
  • Posts: 42
Re: if the Comodo DiskShield can set its cache area in the RAM only?
« Reply #18 on: December 17, 2008, 10:24:34 AM »
Hi all

If your use of xp Fit corresponding Microsoft Eula you can use ms own ewf
(Enhanced Write Filter)

This will effectively map all write to ram.
Documentation is there: http://msdn.microsoft.com/en-us/library/ms912906.aspx


Here's a very complete ressource for those wanting to run XP from a CF card
http://granturing.blogspot.com/

You are probably interested in the post of December 3 and 18 2007
they show you how to:
* install ewf
* set windows to minimize useless write access
* enable / disable & commit ewf without reboot
* hibernate

You should also be careful about automatic defrag and such....


here's the thread that started it all...
http://www.mp3car.com/vbulletin/winnt-based/37078-using-ewf-regular-winxp.html


I've also found this one
http://www.theacerguy.com/2008/11/aspire-one-ssd-vista-with-ewf-recommends-15gb-ram-2/
(caution the reg file is the minimum to make it work, no less writing optimisation)


Hope this help...

This being said.... waiting for a 3rd party software such as comodo is you best bet...


[edit]

Or you can choose FBWF solution
http://msdn.microsoft.com/en-us/library/aa940808(WinEmbedded.5).aspx
http://www.aspireoneuser.com/forum/viewtopic.php?f=6&t=179

Thanks a lot, now I'v already installed it and it works well. But there is a problem, it doesn't release spaces automaticly. I copied a file which was 50mb to c:\ in order to see the effect, when I deleted the file ,it still occupied the RAM spaces.
« Last Edit: December 17, 2008, 10:27:51 AM by distance »

Offline Pho3NiX

  • Newbie
  • *
  • Posts: 22
Re: if the Comodo DiskShield can set its cache area in the RAM only?
« Reply #19 on: December 17, 2008, 03:03:37 PM »
I suppose you've tried ewf ...

The problem is that ewf doesnt know what is a file ... it work at NTFS level.
When you create a file you have two thing.

1) the file information are writen to disk sectors
2) A table point the file to the region on the disk

When you delete the file

1) The entry is removed from the table
2) the space no more reserved and another file can take it

but the bit changed on the disk are still changed wich is why
1) you can undelete file
2) you need secure delete if you do not want a file to be recovered
3) The space is not freed by ewf as the disk is still changed...


This is why i tougth that fbwf was an interesting approach.
It's less powerfull but it understand what are the file being created.
(it probably can apply protection per file/folder too)

http://www.mp3car.com/vbulletin/winnt-based/121088-guide-using-fbwf-windows-xp-pro.html

Quote
FBWF (file based write filter) offers some important advantages. FBWF uses less ram (you can reclaim ram overlay space when you delete files), you can also commit on the fly (without restarting or disabling), and have persistent (write through) folders that write straight to the drive (so you can have a persistent My Documents for example).

Commiting change is done file per file , you got script to automate this task on post 19 and 24

[edit]
I beleive the information here is interesting and can be usefull even for comodo dev.
However, those interested in this solution should post on the other forums as this is a comodo support forum ans I do not want to start an off-topic discution.
 
« Last Edit: December 17, 2008, 07:38:49 PM by Pho3NiX »

Offline distance

  • Comodo Member
  • **
  • Posts: 42
Re: if the Comodo DiskShield can set its cache area in the RAM only?
« Reply #20 on: December 18, 2008, 07:58:13 AM »
Thanks again for all the information, it looks that they both have strongpoints and flaws. I'v installed ewf, maybe I will try FBWF some other time. I really learnd a lot from it. :)

Offline AJohn

  • Computer Security Testing Group
  • Comodo Loves me
  • *****
  • Posts: 170
Re: if the Comodo DiskShield can set its cache area in the RAM only?
« Reply #21 on: December 21, 2008, 10:26:06 AM »
All Comodo has to do is code a warning message when trying to enable this feature.  Users who know they still want it can opt. in.  Users who are not sure would follow the warning that their system does not have enough RAM to support this or they are into gaming and should not enable this feature.

 

Free Endpoint Protection
Seo4Smf 2.0 © SmfMod.Com Smf Destek