Computer Hardware
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsComputer HardwareComputer Hardware

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old January 2nd, 2004, 08:30 PM
John5788's Avatar
John5788 John5788 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: 127.0.0.1
Posts: 442 John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 10 m 16 sec
Reputation Power: 7
Send a message via ICQ to John5788 Send a message via AIM to John5788 Send a message via Yahoo to John5788
Where to put swap files

would it be faster for me to have a swap file on the same harddrive the os is on? or would it be faster for the swap file to be on a different harddrive?
__________________
John5788
EMail: john5788@x5788.net
URL: http://www.x5788.net
AIM: John57881, John57883
ICQ: 74077537
MSN: John@5788.zzn.com
YIM: John5788

Reply With Quote
  #2  
Old January 3rd, 2004, 12:01 AM
icrf's Avatar
icrf icrf is offline
Perl Monkey
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: May 2003
Location: the far end of town where the Grickle-grass grows
Posts: 1,856 icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 10 h 28 m 31 sec
Reputation Power: 103
Send a message via AIM to icrf
In theory, different. Spreading the activity amongst a greater number of hard disks will always be faster (RAID striping theory, check out Vinum). Well, until breaking it up and reassembling takes more time that actually writing, but cpu time is a ton cheaper than i/o, and i/o busses generally have a lot of free overhead, too.

Reply With Quote
  #3  
Old January 3rd, 2004, 12:09 AM
John5788's Avatar
John5788 John5788 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: 127.0.0.1
Posts: 442 John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 10 m 16 sec
Reputation Power: 7
Send a message via ICQ to John5788 Send a message via AIM to John5788 Send a message via Yahoo to John5788
but what if the drive that the OS is installed on is 7200rpm, and the one that has swap is 5400rpm

Reply With Quote
  #4  
Old January 3rd, 2004, 12:53 AM
icrf's Avatar
icrf icrf is offline
Perl Monkey
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: May 2003
Location: the far end of town where the Grickle-grass grows
Posts: 1,856 icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 10 h 28 m 31 sec
Reputation Power: 103
Send a message via AIM to icrf
A track star and a computer programmer are having a footrace to see who can traverse a hill the quickest. The former runs uphill and the latter down. Who's faster? Who knows, have to time them and see.

Reply With Quote
  #5  
Old January 3rd, 2004, 09:19 AM
LoC_JukeBoX LoC_JukeBoX is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 LoC_JukeBoX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Wink optimizing the swap file

Well heres how to setup your swap files, go to system properties (right-click My Computer, select properties, then click the performance tab, from there you click the "Virtual Memory" button and a window pops up. On the window for virtual memory select the box where it says "Let Me Specify My Own Virtual Memory Settings", then put this on your fastest harddrive in terms of access speed or by speed in rpm. Set the minimum and maximum size swap file to 2x or 2.5x the size of your physical memory, such as, if you got 128 MB of Physical Memory, set the swap file size to be 256 MB or 320 MB.

Reply With Quote
  #6  
Old January 3rd, 2004, 11:45 AM
icrf's Avatar
icrf icrf is offline
Perl Monkey
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: May 2003
Location: the far end of town where the Grickle-grass grows
Posts: 1,856 icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 10 h 28 m 31 sec
Reputation Power: 103
Send a message via AIM to icrf
Actually, operating system and program executables are rarely what eats all the memory, it's their data. If you're doing lots of a/v editing and have a separate drive for that, keeping it off that drive will probably be your best bet. If you're playing lots of video games (like CS or Diablo...ugh) their data is normally kept in the same directory as their executables, so keeping swap off your program files drive would be best. Like everything else, the clean-cut answer is always "it depends".

Reply With Quote
  #7  
Old January 3rd, 2004, 01:20 PM
John5788's Avatar
John5788 John5788 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: 127.0.0.1
Posts: 442 John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 10 m 16 sec
Reputation Power: 7
Send a message via ICQ to John5788 Send a message via AIM to John5788 Send a message via Yahoo to John5788
Re: optimizing the swap file

Quote:
Originally posted by LoC_JukeBoX
Well heres how to setup your swap files, go to system properties (right-click My Computer, select properties, then click the performance tab, from there you click the "Virtual Memory" button and a window pops up. On the window for virtual memory select the box where it says "Let Me Specify My Own Virtual Memory Settings", then put this on your fastest harddrive in terms of access speed or by speed in rpm. Set the minimum and maximum size swap file to 2x or 2.5x the size of your physical memory, such as, if you got 128 MB of Physical Memory, set the swap file size to be 256 MB or 320 MB.


yes i kno how to set up my swap file=for windows. thats why i was asking if it would be faster to be on a seperate drive that is at 5400rpm.

Reply With Quote
  #8  
Old January 3rd, 2004, 02:40 PM
robertadams robertadams is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 79 robertadams User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
when you are talking about milliseconds, I doubt you will see much difference. Back in the days of 386s and 4 megs of memory and 200mb hard drives it mattered. not too much anymore.

robert

Reply With Quote
  #9  
Old January 4th, 2004, 12:36 PM
John5788's Avatar
John5788 John5788 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: 127.0.0.1
Posts: 442 John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 10 m 16 sec
Reputation Power: 7
Send a message via ICQ to John5788 Send a message via AIM to John5788 Send a message via Yahoo to John5788
ok thanks then, i might remove the extra 2 hdds i have to reduce the noise in my machine. i dont feel like playing around with dual booting and such anymore.

Reply With Quote
  #10  
Old March 12th, 2004, 12:54 PM
thebouncingball thebouncingball is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 1 thebouncingball User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
5400 versus 7200

>> when you are talking about milliseconds, I doubt you will see much difference. Back in the days of 386s and 4 megs of memory and 200mb hard drives it mattered. not too much anymore.


But that's a lot of milliseconds. When you do the math between 5400 and 7200, that's a 25% speed increase.

I can absolutely see the difference running Windows 2000. My 5400 RPM drive is aggravatingly slow compared to my 7200.

-Paul

Reply With Quote
  #11  
Old March 12th, 2004, 02:06 PM
icrf's Avatar
icrf icrf is offline
Perl Monkey
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: May 2003
Location: the far end of town where the Grickle-grass grows
Posts: 1,856 icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 10 h 28 m 31 sec
Reputation Power: 103
Send a message via AIM to icrf
The spindle speed is mostly dealing with seek time. The operating system itself (and some large programs) have many many small files and seeking to each of them can add up to noticable time (as you've seen), especially during boot up. For random reads, a faster spindle speed will make big difference, but for sequential ones, it doesn't really (unless your sequential files are highly fragmented, then it's not really sequential, is it?). I'd say most "normal" conditions tend to be pretty random.

A slower spindle speed doesn't neccessarily mean slower transfer rates, but they tend to be cheaper, cooler, and queter.These days, 7200 rpm drives are pretty cheap and some are pretty quiet, too, so there's little reason not to use them. If you want a dirt cheap drive to store your 250G of britney mp3's and anime pr0n, getting a 5400 rpm with a 2M buffer can save some money without affecting the desired performance.
__________________
Andrew - Perl (and VB.NET) Monkey

Never underestimate the bandwidth of a hatchback full of tapes.

Reply With Quote
Reply

Viewing: Dev Shed ForumsComputer HardwareComputer Hardware > Where to put swap files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |