Re: Is it possible to use a USB Pen Drive as the swapfile?

Tech-Archive recommends: Fix windows errors by optimizing your registry



mydejamail@xxxxxxxxxxx wrote:
I am thinking about using a USB Pen Drive as the swapfile for Windows -
is this possible?

Not thru the dialog - it offers fixed drives only. But if
you mount it into an empty folder on an NTFS drive in
the disk management an enter then this path in the registry
under
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
PagingFiles
e.g.
C:\MyPageFileFlashDrive\pagefile.sys 990 990
it may work. I've not tried it.

There also the issue of USB pen drives having a limit of the number of
times they can be read or written.

Yes, it's limited, but modern flash drives should have enough
reserve blocks.
http://en.wikipedia.org/wiki/Wear_levelling

The main problem I see is that Windows uses the page file
in blocks of 4096 Bytes but flash memory usually has logical
blocks of 65536 Bytes and whenever a 4K block is written the
flash device has to erase and rewrite a whole 64K block.
It would be interesting to know more about the pageing internals.
I think that Windows tries to write as linear as possible because
it saves access times on harddisks and this would help to avoid
the described effect. But who knows...

If the former is possible how long might one last?

Depends on how heavy you Windows uses the pagefile :-)
So far all tries I heard about to kill a flash drive by endless
write accesses are failed.


Uwe


.



Relevant Pages

  • Re: Cant explore to slave drive
    ... > not the same account and Win XP knows it. ... is through the 'Disk Management' ... If you are running Microsoft Windows XP ... Is it possible that since the disk is showing as having a MBR, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: cant access disk management in windowsXP professional
    ... Microsoft MVP (Windows Server System: ... done through the Disk Management windows interface. ... it says "unable to connect to Logical Disk ...
    (microsoft.public.windowsxp.security_admin)
  • Disk Management In All Accounts & Explorer.exe in LUA Fail
    ... Windows XP Pro's registry with regedit.exe and changed the Everyone group in ... thinking that would make the registry more secure. ... But it messed up the Network Connections interface, Disk Management and the ... Start/Taskbar and desktop icons in my Limited User Account. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: External HDD Plug & Play Problem
    ... Disk Management is one of the most useful utilities in Windows, and it has been a part of every Windows since Win2K. ... have it configured such that when I return from work I plug in the USB hub open my notebook lid and the external drives are immediately recognised and fire away. ...
    (microsoft.public.windows.vista.hardware_devices)
  • Re: H/D info please
    ... Have you found Disk Management yet? ... In MS-DOS and Win9x/ME (and earlier Windows, back to the beginning), we ... give you a clear picture of your hard drives (and CD/DVD drives, ... > drive to the slave for backup if needed. ...
    (microsoft.public.windowsxp.basics)