LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-03-2011, 07:55 AM   #1
Aramsh
LQ Newbie
 
Registered: Jan 2011
Location: Armenia, Yerevan
Posts: 22

Rep: Reputation: 0
Hard drive partitioning vs Performance


Hi People!

Can anyone tell me, if I make more partitions rather than creating single one, will I get more data access performance?

E.g Instead of keeping 1,5TB partition, create
5x300MB and keep different data in different partitions?

Logically hard drive will spend less time on finding data in smaller partition then in bigger one, right? Is there any statistics for performance vs size?


Thanks,
Aram
 
Old 03-03-2011, 08:12 AM   #2
darkduck
Member
 
Registered: Jan 2011
Location: Cyprus
Distribution: Kubuntu, OpenSuSE
Posts: 502

Rep: Reputation: 26
Quote:
Originally Posted by Aramsh View Post
Logically hard drive will spend less time on finding data in smaller partition then in bigger one, right?
Why?
It would definitely be true for tape. But disk is organised differently, especially with modern filesystems.
 
Old 03-03-2011, 08:14 AM   #3
Aramsh
LQ Newbie
 
Registered: Jan 2011
Location: Armenia, Yerevan
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by darkduck View Post
Why?
It would definitely be true for tape. But disk is organised differently, especially with modern filesystems.
Then it does not make sense to divide data partition to several ones in terms of performance?
 
Old 03-03-2011, 02:09 PM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by Aramsh View Post

Logically hard drive will spend less time on finding data in smaller partition then in bigger one, right? Is there any statistics for performance vs size?
Wrong, just wrong. This is a complex subject with a number of factors and you have seized on a single one. probably the single most serious one that you are ignoring is that one of the serious slow downs on a disk is the need for the read head to 'stroke' from one place to another, and in spreading the data around several partitions, you are increasing the length of those strokes in many cases (of course, if you use case makes primarily accesses to /home, which would be unusual, and you have a relatively compact /home partition, then this would help).
 
Old 03-03-2011, 02:31 PM   #5
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Quote:
Originally Posted by Aramsh View Post
Hi People!

Can anyone tell me, if I make more partitions rather than creating single one, will I get more data access performance?

E.g Instead of keeping 1,5TB partition, create
5x300MB and keep different data in different partitions?

Logically hard drive will spend less time on finding data in smaller partition then in bigger one, right? Is there any statistics for performance vs size?


Thanks,
Aram
I think you will find that more partitions on the same drive will degrade performance.
 
Old 03-03-2011, 11:48 PM   #6
Aramsh
LQ Newbie
 
Registered: Jan 2011
Location: Armenia, Yerevan
Posts: 22

Original Poster
Rep: Reputation: 0
Hi All,
Thanks for the answers!

Aram
 
Old 03-03-2011, 11:54 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Shouldn't make any difference either way.
The I/O schedulers manage the physical I/O - they only care about blocks addresses, and are indifferent to partitioning.

Separate partitions have other attractions, but absolute performance is unlikely to be a factor in a "normal" user setup.
 
  


Reply



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
Server drive partitioning for best performance (LVM vs .. ?) rollyah Linux - Server 6 01-14-2011 01:40 AM
Re-partitioning my hard drive...need help!! njschroe SUSE / openSUSE 2 02-15-2007 08:36 AM
Hard Drive Partitioning for Large Hard Drives Matir Linux - General 2 12-26-2006 05:55 AM
Hard drives-Partitioning for performance-Web server devinnull Linux - Hardware 3 08-28-2006 05:00 PM
Partitioning a hard drive phoenix_wolf Linux - Newbie 5 12-04-2004 01:50 AM

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

All times are GMT -5. The time now is 06:59 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