Łukasz K wrote:
> Hello Matthew,
> 
>    I have problems with pool fragmentation.
> http://www.opensolaris.org/jive/thread.jspa?threadID=34810
> 
> Now I want to speed up zfs send, because our pool space maps are
> huge - after sending space maps will be smaller ( from 1GB -> 50MB ).
> 
> As I understand I there will not be anything like defragmentation,

We will be implementing defragmentation with the device removal feature, 
perhaps by the end of the calendar year.

> so I need to live with this. But some changes could help:
> 1. Auto tune recordsize, when pool is out of 128kB blocks, then should 
> use smaller ones.
> 2. We should be more careful with unloading space maps. I have enough 
> RAM to keep metaslabs in memory.
> 
> Can you help me with changing this algorithms ?

See where metaslab_sync_done() calls space_map_unload().

--matt
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to