NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Beating a dead horse



Andreas Gustafsson <gson%gson.org@localhost> writes:

> Greg Troxel wrote:
>> The other thing would be to change the alignment threshold to 128G.
>> Even that's big enough that 1M not used by default is not important.
>> And of course people who care can do whatever they want anyway.
>
> I would go further than that.  Alignment is not only an issue with 4K
> sector disks, but also with SSDs, USB sticks, and SD cards, all of
> which are being deployed in sizes smaller than 128 GB even today.

I didn't realize that.  Do these devices have 4K native sectors?

> My vote is for a threshold of 1 G.  This means that worst case, we
> could end up wasting as much as 0.1% of the capacity on alignment
> (the horror!).

So you mean 2048 for >= 1G?  That's ok with me, too.

Is there a clear motivation for 2048 vs 64?   Are there any known
devices where that matters?

But why is just changing 63 to 64 always an issue?  Or using that for
>= 1G?   Other than complexity, and having 3 branches.


Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index