From: Joshua Murphy <poisonbl@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: OT: Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels
Date: Sun, 31 Jul 2011 10:17:16 -0400 [thread overview]
Message-ID: <CAOTuDKp=iXEipPaXxDVmixob2khPHQ3OqaQiWEozv=cUvZv0_A@mail.gmail.com> (raw)
In-Reply-To: <201107311451.36206.peter@humphrey.ukfsn.org>
On Sun, Jul 31, 2011 at 9:51 AM, Peter Humphrey
<peter@humphrey.ukfsn.org> wrote:
> On Sunday 31 July 2011 14:15:20 Joshua Murphy wrote:
>
>> Well, GParted, if I recall, does a couple checks to guess 'best' block
>> size when cloning or moving a partition, but I'm really not sure how
>> it does things when shrinking and shifting it sideways to a spot that
>> overlaps with where it started... but based on the above, I would
>> guess it really does do a bs of 512, or ar best, the cluster size of
>> the file system it is moving (usually 4k), since it's moving the data
>> stored there, not the whole partition, block for block.
>
> In fact it did run those tests, and it settled on a value of, I think, 16MB
> blocks. It then ran a read-only test of the entire file system, and only then
> started copying it. As it was moving the partition upwards by about half its
> occupied size, there was considerable overlap. That must mean that it
> started with the highest-numbered block and worked steadily (very!)
> downwards.
>
> I don't know where in the partition it ran its speed tests, but on a
> partition that occupies almost all the physical disk, as it did, there must
> be a considerable speed difference between its two ends.
>
> --
> Rgds
> Peter Linux Counter 5290, 1994-04-23
>
>
There probably is a fair chunk of difference in maximum speed the disk
can work at on each end (I've even seen around a 20MB/s difference on
several 160GB drives I've dealt with), but outside of some older
drives that've been heavily abused in their lives, I'm not sure I've
seen a sata drive that I've used my usual drive test (MHDD on a
Hiren's bootable USB) on register below around 60MB/s on the slow end,
and USB2's *theoretical* limit is 480Mb/s (60MB/s) ... real-world
implementations rarely reach, let alone top, around 40MB/s, so disk
speed variation across the disk is an unlikely source of the slowdown.
More likely, it's the fact that parted has to start from the end, and
work its way backwards, reading, writing, and verifying in separate
rotations of the disk with no benefit from the drive's ability to
stream a larger block into cache, since the whole process is backwards
compared to the streaming read most drives are optimized for. Of
course, this is all off the cuff conjecture on my part, including my
assumptions about how parted approaches the whole task... mixed with a
bit of anecdotal evidence on my end... but, makes for amusing
conversation and contemplation, if nothing more substantial. I will
point out that the newer advanced format WD 500GB blue's I've worked
recently with pulled a consistent 120-110MB/s speed from end to end...
when their older 320s usually peaked at around 85 or so.
--
Poison [BLX]
Joshua M. Murphy
next prev parent reply other threads:[~2011-07-31 14:18 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-25 18:20 [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels Todd Goodman
2011-07-25 19:11 ` Dale
2011-07-25 18:53 ` Todd Goodman
2011-07-25 20:00 ` Dale
2011-07-25 23:27 ` [gentoo-user] " walt
2011-07-26 11:27 ` [gentoo-user] " Todd Goodman
2011-07-26 14:14 ` Dale
2011-07-26 14:06 ` Todd Goodman
2011-07-27 21:03 ` Dale
2011-07-27 22:10 ` Peter Humphrey
2011-07-27 22:18 ` James Wall
2011-07-28 7:00 ` Joost Roeleveld
2011-07-28 20:29 ` Dale
2011-07-28 23:37 ` Dale
2011-07-28 23:50 ` Willie Wong
2011-07-29 0:59 ` Dale
2011-07-28 23:51 ` Michael Mol
2011-07-29 0:57 ` Dale
2011-07-29 1:04 ` Adam Carter
2011-07-29 1:05 ` Adam Carter
2011-07-29 1:44 ` Dale
2011-07-29 14:47 ` Joost Roeleveld
2011-07-29 19:41 ` Dale
2011-07-29 22:54 ` Michael Mol
2011-07-29 23:06 ` Dale
2011-07-29 23:59 ` Alex Schuster
2011-07-30 0:32 ` Dale
2011-07-30 10:04 ` Mick
2011-07-30 10:17 ` Dale
2011-07-30 12:03 ` Peter Humphrey
2011-07-30 12:53 ` Michael Mol
2011-07-30 14:04 ` Dale
2011-07-30 14:22 ` Michael Mol
2011-07-30 14:47 ` Dale
2011-07-30 14:00 ` Dale
2011-07-30 10:27 ` pk
2011-07-30 14:10 ` Dale
2011-07-30 14:35 ` OT: " Peter Humphrey
2011-07-30 14:50 ` Dale
2011-07-31 0:53 ` Peter Humphrey
2011-07-31 8:33 ` Mick
2011-07-31 8:49 ` Dale
2011-07-31 11:13 ` Mick
2011-07-31 13:15 ` Joshua Murphy
2011-07-31 13:51 ` Peter Humphrey
2011-07-31 14:17 ` Joshua Murphy [this message]
2011-07-31 14:59 ` Peter Humphrey
2011-07-31 8:35 ` Dale
2011-07-31 13:09 ` Joshua Murphy
2011-07-31 17:20 ` Mick
2011-07-31 17:42 ` Peter Humphrey
2011-07-31 17:56 ` Dale
2011-08-03 9:12 ` Joost Roeleveld
2011-08-03 15:29 ` Dale
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='CAOTuDKp=iXEipPaXxDVmixob2khPHQ3OqaQiWEozv=cUvZv0_A@mail.gmail.com' \
--to=poisonbl@gmail.com \
--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