LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 11-08-2004, 12:07 PM   #1
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Rep: Reputation: 15
partition layout vs performance?


Hi.
Im moving my Slack install to reiser4 which means some drive repartitioning so I have a chance to improve performance a bit by rearanging partitions.(right now slack is installed on the last two partitions).
So where will i get more speed, at the beginning or at the end of the drive?
I did a search on this topic and the answers are quite different...
Thank you.
 
Old 11-08-2004, 12:41 PM   #2
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
I certainly would have to agree with the front of the disk. Is there only a single hard drive? Because if you have separate drives there are other partitioning measures that can be taken.

IE. Put the / partition near the front of disk 1 but put something like /lib on a separate disk. Both partitions can be called simultaneously and your apps will start up faster.
 
Old 11-08-2004, 04:34 PM   #3
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Original Poster
Rep: Reputation: 15
Hi amfoster, thank you for reply.
Its a single 80Gig drive. Ive already moved the swap so the drive looks like this:
Code:
/dev/hda1   *           1           6       48163+  83  Linux
/dev/hda3               7        9964    79987635    f  W95 Ext'd (LBA)
/dev/hda5               7         109      827316   82  Linux swap
/dev/hda6             110        8535    67681813+   b  W95 FAT32
/dev/hda7            8536        9964    11478409   83  Linux
i think my future layout will be something like this:
<boot>
<swap>
</>
<usr>
<opt>
<tmp>
<var>
<home>
<rest of the disk, fat32>
anything I need to change here?
Thanks
 
Old 11-08-2004, 07:34 PM   #4
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
Really, One man's meat is another's poison.

I tend to put swap farther down the list since I barely ever touch thed swap drive.

The rest looks good to me.

I do have one machine that is strictly the web server and I moved the partition with the web pages toward the front.

Boot then root looks good to me. Since you probably have a lot of apps under usr and opt, it is probably wise to keep the order you have.

I can't really see if right now, but from memory mine is something like

/boot
/
/srv (all my server data)
/usr
/var
/tmp
/home
/jfs
/xfs
/scratch
/dos
/ext2
swap
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition Layout advice with dual-booting Elbaron Linux - Newbie 4 05-31-2004 03:55 AM
mounting /usr on new partition causing poor performance retarded Linux - Newbie 4 05-02-2004 01:55 AM
large partition decreases performance? deNiro Slackware 7 10-24-2003 09:29 AM
Partition Layout for a Samba PDC....? tarballed Linux - General 16 05-09-2003 01:05 PM
Layout? MasterC LQ Suggestions & Feedback 2 03-06-2003 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration