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

Re: reiserfs empirical study (very long)



 
> The big endian patches change the code to use little endian ordering
> for all on-disk structures.  IMO this is a mistake, and certainly
> costs a dear performance penalty, because on big endian processors,
> this method requires converting endianness both ways (reading and
> writing) for all meta data.

Sane architectures (sparc64, ppc) have load/store with byte swap
instructions and if reiserfs is using them you shouldnt see a
performance penalty.

cpu_to_le* etc make use of them.

Anton



Reply to: