Another solution for SSD: EWF?

Windows OS and software

Moderators: Ranjit, rory

Another solution for SSD: EWF?

Postby iDq » Tue Aug 05, 2008 2:08 am

Hello,

I've implemented EWF (more information here: http://msdn.microsoft.com/en-us/library/ms838511.aspx) in Windows XP SP3. Performance now is well acceptable. In the next days, I'll post a mini-tuto. By the way, I'm testing this solution.

Regards,

[EDIT]
* RAM: 512 Mb
* File System: NTFS
* Time from booting to start using Windows: 15 secs. (aprox.) [Only chipset and VGA drivers]
iDq
 
Posts: 33
Joined: Sat Aug 02, 2008 2:52 pm
Location: Spain

Re: Another solution for SSD: EWF?

Postby DarrenHD » Tue Aug 05, 2008 2:39 am

Hi...I am using using File-based write filter (FBWF) as described on another thread, and it works well...in fact without using that (and doing all of the tweaks like turning off paging, pre-fetch, etc, etc...) performance to me was still not acceptable. But with FBWF it is. I am getting a consistant 25MB/sec speed from the SSD. See screenshot. I have 1.5GB of ram in my Aspire One.

Image

I tried installing Vista but I had the same horrible inconsistant SSD performance as I did with XP (only it was worse with Vista). Hopefully proper drivers will come out so we don't have to jump through all these hoops to get a smooth XP system... But nevertheless, I am happy with the performance with FBWF.

Darren
Aspire One 8GB SSD, 1.5GB Ram, XP Pro
Aspire One 120GB, Vista Ultimate, 1.5 GB ram, 2GB SD card for ReadyBoost (18MB/sec). Yes, it runs great!
DarrenHD
 
Posts: 25
Joined: Tue Aug 05, 2008 2:27 am
Location: Canada

Re: Another solution for SSD: EWF?

Postby iDq » Tue Aug 05, 2008 2:50 am

Yep, FBWF is another implementation. I like EWF because it supports NTFS. Here's a capture of HD Tune:

hdtune.JPG
hdtune.JPG (152.28 KiB) Viewed 52067 times
iDq
 
Posts: 33
Joined: Sat Aug 02, 2008 2:52 pm
Location: Spain

Re: Another solution for SSD: EWF?

Postby DarrenHD » Tue Aug 05, 2008 5:55 am

Hmmm...ok i switched over to EWF as well ( I like it better ) and converted to NTFS. My SSD performance is still the same - lower than yours. Unless there is something I've configured wrong, I guess I have a slower SSD than you :(

I read on a forum that EWF also works with Vista, and since we are using the RAM REG mode of EWF we do not need to make changes to the NTLDR (which is now different for Vista)....so I am going to try Vista in the next few days to see if I can get good performance out of Vista. I had similar stuttering SSD problems on Vista as I did with XP. But I never tried FBWF or EWF on Vista.

I have a full ghost image backup of my system so I think I will give Vista a try tomorrow with EWF.

Darren
Aspire One 120GB, Vista Ultimate, 1.5 GB ram, 2GB SD card for ReadyBoost (18MB/sec). Yes, it runs great!
DarrenHD
 
Posts: 25
Joined: Tue Aug 05, 2008 2:27 am
Location: Canada

Re: Another solution for SSD: EWF?

Postby iDq » Wed Aug 06, 2008 12:39 am

A simple guide for implementing EWF (RAM-Reg Mode) ;)

1. Get the files

Download Windows XP Embedded Service Pack 2 Feature Pack 2007 from here:

http://www.microsoft.com/downloads/details.aspx?FamilyID=9bdf1dea-a37e-4d25-83df-aabbaa78914f&displaylang=en

Mount image (i. e. Nero ImageDrive) and open XPEFP2007.EXE using an archive manager (i. e. WinRAR). In the 'rep' directory you'll find this files: ewf.sys and ewfmgr.exe. Extract them.

2. Copy files

ewfmgr.exe -> \windows\system32
ewf.sys -> \windows\system32\drivers

3. Update Windows Registry

You will need to create several keys and values:

Key name: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ewf

Name: ErrorControl
Type: REG_DWORD
Value: 0x00000001 (1)

Name: Group
Type: REG_SZ
Value: System Bus Extender

Name: Start
Type: REG_DWORD
Value: 0x00000000 (0)

Name: Type
Type: REG_DWORD
Value: 0x00000001 (1)

Key Name: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ewf\Parameters\Protected\Volume0

Name: Enabled
Type: REG_DWORD
Value: 0

Name: Type
Type: REG_DWORD
Value: 0x00000001 (1)

Name: ArcName
Type: REG_SZ
Value: multi(0)disk(0)rdisk(0)partition(1)

Key Name: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}

Name: UpperFilters
Type: REG_MULTI_SZ
Value: EWF (if the value of this key is volsnap, add EWF to the value on a new line)

More information here: http://msdn.microsoft.com/en-us/library/ms940182.aspx
Also, I've found this interesting blog: http://granturing.blogspot.com/

Regards,
iDq
 
Posts: 33
Joined: Sat Aug 02, 2008 2:52 pm
Location: Spain

Re: Another solution for SSD: EWF?

Postby J26 » Wed Aug 06, 2008 6:44 am

So this trick, offers absolutely zero-writing to ssd and it will reduce the wearing down of the ssd to zero because nothing is being written right?

Also is protection software necessary to protect the computer while it's in use, so virus doesn't interrupt and force us to restart to get rid of it?
J26
 
Posts: 22
Joined: Mon Jul 28, 2008 12:13 pm

Re: Another solution for SSD: EWF?

Postby iDq » Wed Aug 06, 2008 10:17 am

So this trick, offers absolutely zero-writing to ssd and it will reduce the wearing down of the ssd to zero because nothing is being written right?


Yes, nothing is written to SSD, unless you execute these commands:

ewfmgr c: -commitanddisable -live
ewfmgr c: -enable

Also is protection software necessary to protect the computer while it's in use, so virus doesn't interrupt and force us to restart to get rid of it?


Not an antivirus, only avoid writes to protected volume (SSD)
iDq
 
Posts: 33
Joined: Sat Aug 02, 2008 2:52 pm
Location: Spain

Re: Another solution for SSD: EWF?

Postby daymz » Wed Aug 06, 2008 1:00 pm

I'm not sure I understand. What's the purpose of installing these filters if nothing is allowed to be written to the SSD ? Speed seems to improve, but you then get a RO filesystem ? I guess you are saving your documents to SD then ? But how about OS and software customization ?
daymz
 
Posts: 44
Joined: Mon Jul 28, 2008 2:48 pm
Location: Montreal, QC, Canada

Re: Another solution for SSD: EWF?

Postby iDq » Wed Aug 06, 2008 2:52 pm

Yes, you save all your documents to an SD card (or USB pendrive).

The idea is to install everything without EWF filter installed. Customize it, etc. Then, when the system is ready, install EWF and all the small writes that Windows makes are made to RAM. When you reboot system all modifications are lost. Anyway, you can save them by using the commands I've posted above.

The purpose of these filters is to protect SSD of these "small" (and continuous) writes.

I'm thinking on test this solution:

1. Install WXP SP3 and all the drivers, applications, etc. onto a partition on SSD (6 Gb aprox.)
2. Mount the expansion slot as a virtual drive (I'm not sure of this) and place pagefile.sys, navigator cache, etc. here
3. The other 2 Gb as a unit for save all your work.

Regards,
iDq
 
Posts: 33
Joined: Sat Aug 02, 2008 2:52 pm
Location: Spain

Re: Another solution for SSD: EWF?

Postby silo » Fri Aug 08, 2008 3:44 am

yay.. finally an NTFS supporter.. i was just about to reinstall windows for the 3rd time just to format it to FAT and use FBFW, but now i think ill just do this instead =D

oh and one more thing.. is there a way to set exclusions for certain folders so that i can write to them? like firefox?
silo
 
Posts: 5
Joined: Thu Aug 07, 2008 3:57 am

Next

Return to Software - Windows

Who is online

Users browsing this forum: No registered users and 1 guest