Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-01-2004, 05:17 PM
|
#1
|
Member
Registered: Apr 2003
Location: Exeter - UK
Distribution: Gentoo
Posts: 45
Rep:
|
Swap partitions
Hi there,
Currently i have 2 hard disks in my PC.
I have just reduced the size of the windows partition on hda to 10 gig freeing up about 50 gig and i have a gentoo installation on hdb using 80 gig.
I want to install LFS on the now free 50 gig partition. but what i was wondering is shall i bother with a swap partition on this drive? would there be any negative impact by not having a swap partition and using the one on hdb?
thanks for any advice
Mike
|
|
|
03-01-2004, 05:23 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
No, there wouldn't ... however, if you had "shared" stuff,
like a common /home for both installations, it would be
advantageous to have a swapper on both hdd's because
then Linux could use the one on the hdd that's not in access
for swapping (speed gain) ...
Cheers,
Tink
Last edited by Tinkster; 03-01-2004 at 05:24 PM.
|
|
|
03-01-2004, 05:30 PM
|
#3
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
One tip for unlikely circumstances, though: I originally had two small drives in this box with the swap on one. I figured one was plenty and I didn't need a swap on the other. So when I replaced the 15 gig drive with an 80, I moved the 15 to a different computer. But then the Slackware install on that drive had no swap and I'd have had to repartition to get any swap for it. However, the drive decided to save me the trouble of repartitioning and just died. So one of these days you might want swap space on each drive. But as long as your two drives stay together, one swap will do for all your distros.
As far as the speed gain, Tink, do they also need to be on different controllers? Earlier in the boxes life I had swap on both drives on that theory but they were both on the same controller so I don't know if it did any good.
|
|
|
03-01-2004, 05:33 PM
|
#4
|
Member
Registered: Apr 2003
Location: Exeter - UK
Distribution: Gentoo
Posts: 45
Original Poster
Rep:
|
Quote:
Originally posted by Tinkster
No, there wouldn't ... however, if you had "shared" stuff,
like a common /home for both installations, it would be
advantageous to have a swapper on both hdd's because
then Linux could use the one on the hdd that's not in access
for swapping (speed gain) ...
Cheers,
Tink
|
There won't be any shared stuff on the systems except for the swap, as i want to play with the lfs installation without running the risk of destroying data / breaking my gentoo installation.
|
|
|
03-01-2004, 05:35 PM
|
#5
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
As far as the speed gain, Tink, do they also need to be on different controllers? Earlier in the boxes life I had swap on both drives on that theory but they were both on the same controller so I don't know if it did any good.
|
Well, IDE is a stupid interface, and it would be MORE
beneficial if the HDD's weren't on the same controller,
but even if they are, it's still faster since the head-movements
on the active drive are less ...
Cheers,
Tink
|
|
|
03-01-2004, 05:49 PM
|
#6
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
Quote:
Originally posted by Tinkster
Well, IDE is a stupid interface, and it would be MORE
beneficial if the HDD's weren't on the same controller,
but even if they are, it's still faster since the head-movements
on the active drive are less ...
Cheers,
Tink
|
But it's a cheap interface.  Okay - so it cuts the 'mechanical' speed down to the 'electrical' speed. But still has the IDE stepping on its own toes. Cool.
|
|
|
03-01-2004, 05:52 PM
|
#7
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
Originally posted by digiot
But it's a cheap interface. :) Okay - so it cuts the 'mechanical' speed down to the 'electrical' speed. But still has the IDE stepping on its own toes. Cool.
|
Yip ...
/me sighs:"SCSI ... "
If only the drives (controllers, cables, ...) weren't so
darn bloody expensive :}
Cheers,
Tink
|
|
|
03-01-2004, 05:59 PM
|
#8
|
Member
Registered: Apr 2003
Location: Exeter - UK
Distribution: Gentoo
Posts: 45
Original Poster
Rep:
|
your not joking!
am i right in thinking that if you want another performance increase then stick the swap partition at the start of the drive? because that means the heads don't have to move as far?
|
|
|
All times are GMT -5. The time now is 10:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|