Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

XP Swapping

Thread Tools
 
Search this Thread
 
Old 3rd Dec 2004, 08:56
  #1 (permalink)  
Evo
Thread Starter
 
Join Date: Sep 2002
Location: Chichester, UK
Posts: 1,650
Likes: 0
Received 0 Likes on 0 Posts
XP Swapping

I'm currently using an IBM T40 Thinkpad, with XP/Pro SP1* and 2Gig Ram. Looking at the task manager, I'm using around 800Mb, with 1.2Gig free.

However, XP still seems extremely keen to swap things out to disk at any opportunity, so every time I maximise a previously-minimized window I have to sit here and wait while Windows pages it back in. There's no need for Windows to be swapping at all, as the half-gig page file would still fit easily in physical memory, and i'm changing windows regularly so it's getting annoying. I don't remember Win2k being so bad on a T30 with 1Gb, so it must be an XP thing. Any idea if I can tune it to be less enthusiastic?

I can't just disable the swap file, because i'm running some rather heavyweight software (WebSphere Application Server and Oracle 10g) and it sometimes has a real need to swap.

*it's a business machine, and SP2 isn't allowed on yet.
Evo is offline  
Old 3rd Dec 2004, 09:09
  #2 (permalink)  
 
Join Date: Nov 2000
Location: Pewsey, UK
Posts: 1,976
Received 12 Likes on 6 Posts
I've found the best way is to have a separate disk (best, but not often practical, espicially on a laptop), or at the least a separate partition.

Configure a separate swap file, of a large and constant size (i.e. minimum and maximum sizes are the same) on the second disk / partition, and remove any swap files on any other drives.

Reduces contention for disk time, stops fragmentation.
The Nr Fairy is offline  
Old 3rd Dec 2004, 09:48
  #3 (permalink)  

Nice-but-dim
 
Join Date: Sep 2001
Location: Rural Yorkshire
Posts: 636
Likes: 0
Received 0 Likes on 0 Posts
Can vouch for that - my 80GB hd on my home PC is partitioned 39 / 39 / 2 with the swap file on the small partition. Works great, I never notice much paging activity. Oddly enough, this partition tells me it's FAT32, although this doesnt seem to have any detrimental effect.
timmcat is offline  
Old 3rd Dec 2004, 16:25
  #4 (permalink)  
 
Join Date: Dec 1998
Location: Escapee from Ultima Thule
Posts: 4,273
Received 2 Likes on 2 Posts
Would have thought FAT would be beneficial. Isn't NTFS a journalled file system? No extra overhead wrt a journal if using FAT. Depending on the size of the partition it might even be beneficial to choose what version of FAT to use.
Tinstaafl is offline  
Old 3rd Dec 2004, 22:06
  #5 (permalink)  
 
Join Date: Jul 2003
Location: Scotland
Posts: 151
Likes: 0
Received 0 Likes on 0 Posts
Evo

Are you managing your Swap file or are you leaving up to windows?

With that amount of RAM you could try switching your pagefile off altogether, never tried it personally but heard good reports.
Front_Seat_Dreamer is offline  
Old 4th Dec 2004, 07:38
  #6 (permalink)  
Evo
Thread Starter
 
Join Date: Sep 2002
Location: Chichester, UK
Posts: 1,650
Likes: 0
Received 0 Likes on 0 Posts
Thanks, folks. I was hoping not to repartition, but it may be necessary.

FSD - I'm not letting Windows manage the swap file, but it is turned on (constant size of 4Gb). In the past i've found that a bit quicker than letting Windows dynamically resize it, because you can be sure that it's all in one contiguous block. I've tried switching to system managed and it doesn't make an obvious difference. Unless I turn off the swap file completely, Windows is still very keen to swap out.

The software I'm running needs a lot of memory when it gets going. The laptop is supposed to duplicate the setup on my desktop machine. Currently Oracle is using approx 950Mb, WSAD 850Mb, WAS 550Mb and WebSphere MQ 350Mb - and that's not including the OS or several instances of the java runtime...

Last edited by Evo; 4th Dec 2004 at 07:49.
Evo is offline  
Old 4th Dec 2004, 15:03
  #7 (permalink)  
The Oracle
 
Join Date: Aug 2001
Location: Naples, Florida U.S.A.
Posts: 2,902
Likes: 0
Received 0 Likes on 0 Posts
Evo,

In regedit go to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

You want to chance DisablePagingExecutive from a 0 to a 1.

Then in the Pagefile under System Properties just set it to two identical numbers. (I use 384 for both Min and Max)

Take Care,

Richard
Naples Air Center, Inc. is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.