public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Frank Steinmetzger <Warp_7@gmx.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar  performance so far
Date: Tue, 9 Feb 2010 18:09:56 +0100	[thread overview]
Message-ID: <201002091810.00578.Warp_7@gmx.de> (raw)
In-Reply-To: <201002090348.26292.Warp_7@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 3229 bytes --]

Am Dienstag, 9. Februar 2010 schrieb Frank Steinmetzger:

> > 4) Everything I've done so far leave me with messages about partition
> > 1 not ending on a cylinder boundary. Googling on that one says don't
> > worry about it. I don't know...

Well since only the start of a partition determines its alignment with 
hardware sectors, I think it's really not that important. Worst case: mkfs 
truncates the last few sectors to make it a multiple of its cluster size.

> Anyway, mine's like this, just to throw it into the pot to the others
> ( those # are added by me to show their respective use )
>
> eisen # fdisk -l -u /dev/sda
>
> Disk /dev/sda: 500.1 GB, 500107862016 bytes
> 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Disk identifier: 0x80178017
>
>    Device Boot     Start         End      Blocks   Id  System
> /dev/sda1   *         63    25157789    12578863+   7  HPFS/NTFS # Windows
> /dev/sda2       25157790    88084394    31463302+   7  HPFS/NTFS # Games
> /dev/sda3       88084395   127941659    19928632+  83  Linux     # / 
> /dev/sda4      127941660   976768064   424413202+   5  Extended
> /dev/sda5      127941723   288816569    80437423+  83  Linux     # /home
> /dev/sda6      288816633   780341309   245762338+  83  Linux     # music
> /dev/sda7      813113973   976703804    81794916   83  Linux     # X-Plane
> /dev/sda8   *  976703868   976768064       32098+  83  Linux     #
> /boot /dev/sda9      780341373   813113909    16386268+   7  HPFS/NTFS #
> Win7 test

I have started amending my partitioning scheme, starting at the rear. Since my 
backup drive has exactly the same scheme, I’m working on that and then 
restore my local drive from it, so I need as little time in a LiveCD 
environment as possible.

I have reset sdb7 to use boundaries divisible by 64.
Old range            begin%64  size%64  New range            begin%64  size%64
813113973-976703804  0.8281    0.125    813113984-976703935  0         0

And guess what - the speed of truecrypt at creating a new container doubled. 
With the old scheme, it started at 13.5 MB/s, now it started at 26-odd. I’m 
blaming that cap on the USB connection to the drive, though it’s gradually 
getting more: after 2/3 of the partition, it’s at 27.7.

So sdb7 now ends at sector 976703935. Interestingly, I couldn’t use the 
immediate next sector for sdb8:
start for sdb8   response by fdisk
976703936        sector already allocated
976703944        Value out of range. First sector... (default 976703999):

The first one fdisk offered me was exactly 64 sectors behind the end sector of 
sdb7 (976703999), which would leave a space of those mysterious 62 “empty” 
sectors in between. So I used 976704000, which is divisable by 64 again, 
though it’s not that relevant for a partition of 31 MB. :D

As soon as truecrypt is finished, I'm going to solidify my findings by 
performing this on another partition, and I’ll also see what happens if I 
start at a start sector of k*64+1. Just out of curiousity. :-)
-- 
Gruß | Greetings | Qapla'
Crayons can take you more places than starships. (Guinan)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-02-09 18:04 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-07 16:27 [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far Mark Knecht
2010-02-07 17:30 ` Alexander
2010-02-07 18:19   ` Volker Armin Hemmann
2010-02-07 19:26     ` Mark Knecht
2010-02-07 18:38   ` Mark Knecht
2010-02-07 19:16     ` Volker Armin Hemmann
2010-02-07 19:39 ` Willie Wong
2010-02-07 20:31   ` Mark Knecht
2010-02-07 21:59     ` Kyle Bader
2010-02-07 21:42   ` Mark Knecht
2010-02-08  2:08     ` Willie Wong
2010-02-08 17:10       ` Mark Knecht
2010-02-08 18:52         ` Valmor de Almeida
2010-02-08 20:34           ` Paul Hartman
2010-02-09  0:27             ` Neil Bothwick
2010-02-09 12:46               ` Stroller
2010-02-09 13:34                 ` Neil Bothwick
2010-02-09 23:37                   ` Iain Buchanan
2010-02-10  6:31                     ` Volker Armin Hemmann
2010-02-10  7:11                       ` Iain Buchanan
2010-02-10  8:37                         ` Volker Armin Hemmann
2010-02-10  8:43                         ` Volker Armin Hemmann
2010-02-09 13:35                 ` Volker Armin Hemmann
2010-02-09 13:57                 ` J. Roeleveld
2010-02-09 15:11                   ` Stroller
2010-02-09 15:27                     ` J. Roeleveld
2010-02-09 17:38                       ` Stroller
2010-02-09 18:25                         ` Mark Knecht
2010-02-09 19:29                           ` J. Roeleveld
2010-02-09 15:43                     ` Neil Bothwick
2010-02-09 17:17                       ` Stroller
2010-02-09 20:30                         ` Neil Bothwick
2010-02-09 18:03                       ` Neil Walker
2010-02-09 19:37                         ` J. Roeleveld
2010-02-09 23:52                           ` Iain Buchanan
2010-02-10  1:16                             ` Stroller
2010-02-10  6:59                             ` Neil Walker
2010-02-10  7:31                               ` Iain Buchanan
2010-02-10  1:28                           ` Stroller
2010-02-10 11:14                             ` J. Roeleveld
2010-02-10 16:37                               ` Stroller
2010-02-10 17:26                                 ` J. Roeleveld
2010-02-10 20:48                                   ` Stroller
2010-02-10  0:11                         ` Peter Humphrey
2010-02-10  6:48                           ` Neil Walker
2010-02-09 17:33               ` Paul Hartman
2010-02-09  7:47             ` J. Roeleveld
2010-02-09 23:22               ` Iain Buchanan
2010-02-10  7:08                 ` Alan McKinnon
2010-02-10 10:56                   ` J. Roeleveld
2010-02-10 10:53                 ` J. Roeleveld
2010-02-10 11:03                   ` Volker Armin Hemmann
2010-02-10 11:17                     ` J. Roeleveld
2010-02-10 11:24                       ` Volker Armin Hemmann
2010-02-08  5:25     ` Valmor de Almeida
2010-02-08 19:57       ` Stroller
2010-02-09  0:05     ` Frank Steinmetzger
2010-02-09  0:37       ` Mark Knecht
2010-02-09  2:48         ` Frank Steinmetzger
2010-02-09 17:09           ` Frank Steinmetzger [this message]
2010-02-09 18:21             ` Mark Knecht
2010-02-09 21:13             ` Frank Steinmetzger
2010-02-09 22:17               ` J. Roeleveld
2010-02-09 22:54               ` Mark Knecht
2010-02-10  0:31                 ` Iain Buchanan
2010-02-10  1:27                   ` Mark Knecht
2010-02-10  7:06                     ` Iain Buchanan
2010-02-09 16:31         ` Mark Knecht
2010-02-12  9:06           ` Mick
2010-02-12 12:14             ` Mark Knecht
2010-02-09  0:47       ` Stroller
2010-02-09  2:20       ` Willie Wong
2010-02-15  0:48     ` Frank Steinmetzger
2010-02-15  1:17       ` Willie Wong
2010-02-15  3:17         ` Mark Knecht
2010-02-15 18:03         ` Frank Steinmetzger
2010-02-15 23:53           ` Alex Schuster
2010-02-16 17:35             ` Frank Steinmetzger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201002091810.00578.Warp_7@gmx.de \
    --to=warp_7@gmx.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox