LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2004, 11:00 AM   #1
CarlosSunden
LQ Newbie
 
Registered: May 2004
Location: USA
Distribution: Red Hat
Posts: 17

Rep: Reputation: 0
layout/creation order of linux partitions


hello

From top being closest to the outer edge of hard disk (faster access) & first to be created when partitioning linux:

/boot
/root
/swap
/tmp
/usr
/home

system will have Apache, MySQL & Bugzilla.

is the creation / placement order of these partitions reasonable ok ?

thanks in advance

carlos
 
Old 05-12-2004, 05:54 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"From top being closest to the outer edge of hard disk (faster access) & first to be created when partitioning linux:"

The fastest access is the center of the hard disk. The disk arm does not "park" at zero between accesses. It moves from whereever it is to the next access location.

You should order the partitions so that the busiest partition is in the middle and the least used partitions at the ends. /boot is only used at boot up and never accessed again. If you have a reasonable amount of memory then swap will never be used or rarely used. How much /root, /tmp, and /home are used can vary a lot from one system to another. / and /usr are always busy. So I recommend:
/boot
swap
/home
/
/usr
/tmp
/root

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 05-12-2004 at 05:56 PM.
 
Old 05-12-2004, 06:45 PM   #3
sirpimpsalot
Member
 
Registered: Feb 2004
Posts: 141

Rep: Reputation: 15
does that really have an affect on latency?
 
Old 05-12-2004, 07:16 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"does that really have an affect on latency?"

Very roughly, moving the disk arm takes up about 90% of a disk access time. So moving the disk arm across 10% of the hard drive is significantly faster than moving the disk arm across 30% of the hard drive. Optimal placement of files can significantly improve hard drive performance.

Another way to improve hard drive performance is to have several hard drives running in parallel. If you have two hard drives then splitting both Linux and Windows across both hard drives will run faster than giving each OS its own exclusive drive.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 05-12-2004 at 07:20 PM.
 
Old 05-12-2004, 07:34 PM   #5
sirpimpsalot
Member
 
Registered: Feb 2004
Posts: 141

Rep: Reputation: 15
makes sense - thanks for the info...
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux filesystem layout Nic-MDKman Linux - General 6 08-13-2006 05:50 AM
Partitions in wrong order nukey Slackware 5 05-15-2005 06:50 AM
dvd creation in linux MrBiggZ Linux - Software 4 01-30-2005 06:39 PM
Order of Linux Partitions (when creating) unixfreak Linux - Newbie 1 08-19-2004 11:49 PM
LINUX CD creation ? mikeshn Linux - General 2 08-06-2002 09:58 PM


All times are GMT -5. The time now is 10:54 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration