New Posts  All Forums:Forum Nav:

paging file question - Page 2

post #21 of 26

Re: Re: more

Quote:
Originally posted by myrkat
I don't make the file 5gb, I make a 5gb PARTITION that holds the 1gb swap file and the TEMP directories (I re-point my temp variables to the "swap drive").

So the other <4gb is for my TEMP directory... (user temp and windows temp both point there). But I'm a bit anal on computer setup (after doing 1,000's of 'em).

-myrkat
myrkat, I'm pretty anal about my compter too I planned to give myself a 2GB partition just for my swap file and IE temp files (for fragmentation concerns). How do you go about making Windows XP Pro point its user temp and Windows temp there too? And do you have any other tips?
post #22 of 26

Re: Re: Re: more

Quote:
Originally posted by CClyph
myrkat, I'm pretty anal about my compter too I planned to give myself a 2GB partition just for my swap file and IE temp files (for fragmentation concerns). How do you go about making Windows XP Pro point its user temp and Windows temp there too? And do you have any other tips?
Well, first of all, I only have one user logging in, so follow this for each user account:

RIGHT-CLICK on My Computer and select PROPERTIES
Click the ADVANCED tab and select the ENVIRONMENT VARIABLES button (near the bottom)
EDIT both USER variables (do this for each user)
EDIT the System Variables (scroll all the way down).

Change all four to your TEMP directory (create it first) on your swap partition...

That should do it.
-myrkat
post #23 of 26

Re: Re: Re: Re: swap

Quote:
I was under the impression that harddrives spin at a constant RPM. Let's relate this to a jogging track. Put the read head over the very inside disk track and read it. This is analogous to running one lap around a 10 meter diameter jogging track. So in one revolution, you've covered 10 * pi meters. Now put the read head over the very outside track and read it. Analogy: Run one lap around a 100 meter track and cover 100 *pi meters in one revolution. So wouldn't putting data towards the end not only make reads faster, but there would be more data towards the outside? In this analogy, the outside track would contain 10 times the amount the inside track contains and be able to read that amount in the same timespan. [/b]
The data is physically closer at the center of the disk. This was the point I was making. So, the disk spins less to access the same amount of data as the outside of the track. At the outside of the track the data isn't 'compressed' together. Take a look at this short explanation from the folks at ntfs.com This is what I'm trying to say.
post #24 of 26
Oh, I see your point. Learn something new every day I kind of thought that hard drives used the same storage rules as CD's, where it's beneficial to put files towards the outside for faster reads (unless CDs do the same thing too).

Here's a quote from that site:
The stack of platters rotate at a constant speed. The drive head, while positioned close to the center of the disk reads from a surface that is passing by more slowly than the surface at the outer edges of the disk. To compensate for this physical difference, tracks near the outside of the disk are less-densely populated with data than the tracks near the center of the disk. The result of the different data density is that the same amount of data can be read over the same period of time, from any drive head position.

So what it's saying is every track fits the exact same amount of data, and it does not matter if the data is on the very inside track or the very outside track because they will be accessed in the exact same amount of time. On any hard drive, the point where the head is exactly in between those two tracks really is the half-capacity point of the drive, i.e. 30GB point on a 60GB drive. I guess if you take into account the file allocation overhead, etc., then that halfway point would be shifted slightly but not enough to affect our purposes for optimal swap file location.
post #25 of 26

Re: Re: Re: Re: more

Quote:
Originally posted by myrkat
Well, first of all, I only have one user logging in, so follow this for each user account:

RIGHT-CLICK on My Computer and select PROPERTIES
Click the ADVANCED tab and select the ENVIRONMENT VARIABLES button (near the bottom)
EDIT both USER variables (do this for each user)
EDIT the System Variables (scroll all the way down).

Change all four to your TEMP directory (create it first) on your swap partition...

That should do it.
-myrkat
Thanks alot myrkat. One more question. I'll have 1 GB RAM and intend to make my swap file 1GB. The partition that the swap and temp files will be on was originally planned to be 2 GB. Is that enough, too much, or not enough?
post #26 of 26

Re: Re: Re: Re: Re: more

Quote:
Originally posted by CClyph
Thanks alot myrkat. One more question. I'll have 1 GB RAM and intend to make my swap file 1GB. The partition that the swap and temp files will be on was originally planned to be 2 GB. Is that enough, too much, or not enough?
That's plenty. If you have a fixed 1024-1024 SWAP there, that leaves about 1GB for temp (which you do need to clean out every now-and-then since many apps don't clean up after themselves).

I use <4GB for similar, and my temp never has gone above 1gb... but I check it every other week or so.

-myrkat
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Notebook Forums - General