RE: File System Choice
万善义 wrote: > 500,000 domains, with the Ext3 file system, DNS service starts very slow and therefore require several hours before they can work properly. For the bind file system choices, there are any suggestions advice? > > -- > 万善义 > 2009-11-26 > ___ > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users Have you considered turning off atime and diratime on the ext3 partition(s) containing the zone files? Has anyone done this and seen marked results? ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: File System Choice
On 26 November2009, at 07:00, Fajar A. Nugraha wrote: > > Also, you could organize the zone files (manually) so that they spread > over many directories instead of one. I've heard that compiling the zones first (named-compilezone?) is a big help in this situation; I can't vouch for it though. Andy ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: File System Choice
2009/11/26 万善义 : > 500,000 domains, with the Ext3 file system, DNS service starts very slow and > therefore require several hours before they can work properly. For the bind > file system choices, there are any suggestions advice? Are you sure it's filesystem issue? ext3 has a feature, dir_index, which uses hashed b-trees to speed up lookups in large directories. It's activated by default (at least on RHEL & Ubuntu, should be the same on other modern distros). Try checking with "dumpe2fs -h" to make sure you have it. Also, you could organize the zone files (manually) so that they spread over many directories instead of one. -- Fajar ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users