John Clements | 7 Jun 2012 22:42

scan time linear in time since last update?


I think this is probably actually a UNIX / filesystem question, but I'm trying to understand why sometimes
unison (with fastcheck on) takes a long(er?) time to scan my filesystem.

Here are my questions:

1) My assumption is that--all else being equal--the scan time should be linear in the number of files. Is
this correct?
2) In addition to this, it also appears that the scan time is related to--linear in?--the time since the last
update.  This suggests to me that the filesystem is scanning a log-based system to determine which files
have changed since the last update. Is this correct? FWIW, the times here are on the order of 4-5 minutes for
a tree with 40K files.

As I said, this is probably mostly a UNIX / filesystem question, but I'm curious to know whether my intuition
and observations are correct. If so, then I can presumably speed things up a lot simply by tarring a bunch of
rarely-used trees into single big files.

Thanks!

John Clements

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Gmane