On 10/14/2013 10:23 PM, Richard Yao wrote: > I hope to get ZFS into a reasonable state on 32-bit Linux soon with > patches to restructure the ZIO buffers to use arrays of pages instead of > slab objects. That should also eliminate the need for the hacks that > currently exist in the SPL and get our allocation sizes down to no more > than two contiguous 4KB pages (although I would be much happier to get > everything below one 4KB page). With that in mind, I would greatly > prefer to see the hash table implemented inside a b-tree to avoid the > use of gigabyte-sized memory allocations (i.e. doing virtual memory > manually). Illumos can be expected to handle such large allocations, > even on 32-bit systems, but other kernels cannot.
On second thought, there is no reason why other ZFS consumers should suffer for Linux's deficiencies. We could always disable persistent L2ARC by default on 32-bit Linux and warn users of the pitfalls. If things do not work out well on 64-bit Linux, we could do the same there too. If there is not already an option for disabling persistent L2ARC by default, it would be greatly appreciated if you would take the time to add it. That way this code could be merged into ZFSOnLinux with the addition of a few preprocessor directives to alter the default behavior.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ developer mailing list [email protected] http://lists.open-zfs.org/mailman/listinfo/developer
