LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 10-22-2003, 04:03 PM   #1
WeNdeL
Member
 
Registered: Oct 2002
Location: At my desk...
Distribution: RedHat, Fedora, Ubuntu
Posts: 344

Rep: Reputation: 30
Which partition is closest to the edge of my disk's platter?


Redhat specific...

I understand that disks have a higher throughput when reading/writing data from/to the edge of a drive's platter. So when I partition a virgin disk, which one will be on the edge?

Or better yet, which sector is closest to the edge? 0 or n?
 
Old 10-22-2003, 05:05 PM   #2
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
I don't know of any good way to determine the physical location of a particular sector or partition on a disk. I'm sure it depends greatly on the size (in MB) of your drive, the number of platters used, manufacturer, and a dozen other things. I would be surprised if there existed a significant difference in I/O speed between the inner and outer edges, though.

It used to be the case that the "cylinders" in a disk were numbered from the inside towards the outside, so cylinder n, rather than 0, would be the outermost. But I think that's all handled logically now, and doesn't really reflect the physical structure of the disk.
 
Old 10-22-2003, 06:16 PM   #3
WeNdeL
Member
 
Registered: Oct 2002
Location: At my desk...
Distribution: RedHat, Fedora, Ubuntu
Posts: 344

Original Poster
Rep: Reputation: 30
bah...

thanks though...
 
Old 10-22-2003, 06:39 PM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
it is logically handled, but it's orderly.
the lower the cylinder number, the closer to the outside.
the outside is faster than the inside.

notice my /dev/hda3 is at the end of the disk. ( the inside cylinders)

/# fdisk -l
Disk /dev/hda: 255 heads, 63 sectors, 9964 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 260 2088418+ 6 FAT16
/dev/hda2 1000 2500 12056782+ c Win95 FAT32 (LBA)
/dev/hda3 7501 9964 19792080 83 Linux
/dev/hda4 2501 7500 40162500 85 Linux extended
/dev/hda5 2501 3200 5622718+ 83 Linux
/dev/hda6 3201 3400 1606468+ 83 Linux
/dev/hda7 3401 3600 1606468+ 83 Linux
/dev/hda8 3601 4300 5622718+ 83 Linux
/dev/hda9 4301 4400 803218+ 82 Linux swap
/dev/hda10 4401 7500 24900718+ 83 Linux
Partition table entries are not in disk order


/# for i in 1 2 3 5 6 7 8 9 10; do hdparm -t /dev/hda$i; done
/dev/hda1:
Timing buffered disk reads: 64 MB in 1.35 seconds = 47.41 MB/sec
/dev/hda2:
Timing buffered disk reads: 64 MB in 1.35 seconds = 47.41 MB/sec
/dev/hda3:
Timing buffered disk reads: 64 MB in 1.76 seconds = 36.36 MB/sec
/dev/hda5:
Timing buffered disk reads: 64 MB in 1.41 seconds = 45.39 MB/sec
/dev/hda6:
Timing buffered disk reads: 64 MB in 1.43 seconds = 44.76 MB/sec
/dev/hda7:
Timing buffered disk reads: 64 MB in 1.44 seconds = 44.44 MB/sec
/dev/hda8:
Timing buffered disk reads: 64 MB in 1.47 seconds = 43.54 MB/sec
/dev/hda9:
Timing buffered disk reads: 64 MB in 1.52 seconds = 42.11 MB/sec
/dev/hda10:
Timing buffered disk reads: 64 MB in 1.52 seconds = 42.11 MB/sec
/#
 
Old 10-22-2003, 07:42 PM   #5
WeNdeL
Member
 
Registered: Oct 2002
Location: At my desk...
Distribution: RedHat, Fedora, Ubuntu
Posts: 344

Original Poster
Rep: Reputation: 30
ahsoh! This is what I thought...

you da man... thanks!
 
  


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
What linux FTP program is closest to FlashFXP for windows? eBopBob Linux - Software 7 05-21-2009 01:11 AM
Closest to win2K without being limited Wolvenmoon Linux - Distributions 3 08-14-2005 09:16 PM
Why - bleeding edge SW Artik Debian 7 05-24-2005 12:27 PM
Which Linux version is closest to Advanced Server farhadh Linux - Distributions 3 12-02-2004 11:00 AM
Which version of linux is closest to windows? Neil Varshneya Linux - Software 6 07-17-2004 09:47 PM


All times are GMT -5. The time now is 11:49 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration