> i got curious how visible this speed difference would
> be, so while i was setting up the disk anyway, i made
> this unscientific experiment.
> 
> some modern linux distros (and win7) use 2048 sectors
> as offset for their first partition, an alignment of
> 1MB.  openbsd's fdisk uses 64.  one thing it does not
> do is creating partition sizes divisble 

you have confused yourself.

> 1. openbsd default
> offset: [64]
>       280.28 real         6.32 user         7.59 sys

> 2. linux style
> offset: [2048]
>       280.78 real         6.99 user         6.01 sys

So no difference at all between those two.

> 3. non-aligned
> offset: [63]
>       339.51 real         4.46 user         5.63 sys


> quite a difference.

Quite a difference WHAT??  Noone uses a non-pow2 alignment.  Everyone
aligns -- everyone, except you, in this bogus test.  This is not a
matter of science.  Your message is very confusing since the length of
it subtly hints OpenBSD is doing something wrong, and we are not.

> one thing fdisk does not seem to do yet:
> 
> generate partition sizes divisible by 8.
> while maybe not necessary on an openbsd only system,
> in multiboot configurations it might be a matter
> of being a good neighbour in cases where openbsd
> is not the last partition on the disk.

So you are the one concerned about this.  And you already have a setup
to test with.  So why don't you try writing a diff -- instead of
trying to pawn your problem off on someone else?

Reply via email to