Groups | Search | Server Info | Login | Register
Groups > comp.sources.testers > #6
| From | Ivan Shmakov <oneingray@gmail.com> |
|---|---|
| Newsgroups | comp.unix.misc, comp.software.testing, comp.sources.testers |
| Subject | Re: filesystem content tracking |
| Date | 2012-03-20 23:37 +0700 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <86wr6fz0s5.fsf@gray.siamics.net> (permalink) |
| References | <86aa3j9quj.fsf@gray.siamics.net> <86fwd43lai.fsf@gray.siamics.net> |
Cross-posted to 3 groups.
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
Back to comp.sources.testers | Previous | Next — Previous in thread | Next in thread | Find similar
filesystem content tracking Ivan Shmakov <oneingray@gmail.com> - 2012-03-14 21:53 +0700
Re: filesystem content tracking Ivan Shmakov <oneingray@gmail.com> - 2012-03-19 18:03 +0700
Re: filesystem content tracking Ivan Shmakov <oneingray@gmail.com> - 2012-03-20 23:37 +0700
Re: filesystem content tracking Ivan Shmakov <oneingray@gmail.com> - 2012-03-22 11:41 +0700
csiph-web