Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Ivan Shmakov Newsgroups: comp.unix.misc,comp.software.testing,comp.sources.testers Subject: Re: filesystem content tracking Date: Tue, 20 Mar 2012 23:37:30 +0700 Organization: Aioe.org NNTP Server Lines: 54 Message-ID: <86wr6fz0s5.fsf@gray.siamics.net> References: <86aa3j9quj.fsf@gray.siamics.net> <86fwd43lai.fsf@gray.siamics.net> NNTP-Posting-Host: FtDGZaUx6k7Bzdiv4MgYAg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:kdMirCCVDwyV2gy/pf5ID9jwjrc= Xref: csiph.com comp.unix.misc:69 comp.software.testing:169 comp.sources.testers:6 Just a couple more tests. Case A: 37 GiB, 1.58 MiN file archive $ df -- /mnt Filesystem 1K-blocks Used Available Use% Mounted on XXXX 41274541 38857603 320938 100% /mnt $ df -i -- /mnt Filesystem Inodes IUsed IFree IUse% Mounted on XXXX 5242880 1661012 3581868 32% /mnt $ find /mnt -xdev -print0 \ | LC_ALL=C /usr/bin/time fc-scan -o fc-asn > fc-asn.log 2>&1 $ tail -n3 < fc-asn.log I: file_bind=9817000, file_rec=9816999, digest=9816998 5145.29user 340.74system 3:23:05elapsed 45%CPU (0avgtext+0avgdata 15393312maxresident)k 61162914inputs+0outputs (4768major+1013779minor)pagefaults 0swaps $ The resulting ASN.1 (BER) "log" file and the program's own text log ("debug output") are as follows: 410017823 Mar 20 03:50 fc-asn 292657597 Mar 20 03:50 fc-asn.log Which gives roughly 247 bytes and 5.91 records per filesystem's inode (or 10.6 bytes and 0.26 records per KiB), at 6.9 MiB and 303 inodes processed per 1 second CPU time. Case B: 15.9 GiB file archive $ df -- /mnt Filesystem 1K-blocks Used Available Use% Mounted on XXXX 24770940 16678072 6834580 71% /mnt $ find /mnt -xdev -print0 \ | LC_ALL=C /usr/bin/time fc-scan -o fc-asn > fc-asn.log 2>&1 $ tail -n3 < fc-asn.log I: file_bind=919966, file_rec=919965, undigestible 494.76user 28.93system 20:31.95elapsed 42%CPU (0avgtext+0avgdata 1495824maxresident)k 7575336inputs+0outputs (4major+93549minor)pagefaults 0swaps $ The resulting ASN.1 (BER) "log" file and the program's own text log ("debug output") are as follows: 38083266 Mar 19 23:42 fc-asn 24922215 Mar 19 23:42 fc-asn.log Which gives roughly 2.28 bytes and 0.06 records per KiB, at 31.1 MiB processed per 1 second CPU time. -- FSF associate member #7257