Big thanks Wayne, then could you tell me what the while loop in flist.c::send_file_list does between calculation of file generation time (given below)? The while loop generates the complete flist. Isn't it?
gettimeofday(&start_tv, NULL); . . while (1) { Generates the file list.... } . . gettimeofday(&end_tv, NULL); stats.flist_buildtime = (int64)(end_tv.tv_sec - start_tv.tv_sec) * 1000 + (end_tv.tv_usec - start_tv.tv_usec) / 1000; if (stats.flist_buildtime == 0) stats.flist_buildtime = 1; Is there any way I can find out how much time rsync spends in complete file list generation? Jignesh. On Sat, May 30, 2009 at 10:42 PM, Wayne Davison <way...@samba.org> wrote: > On Fri, May 29, 2009 at 06:29:22PM +0530, Jignesh Shah wrote: > > Does that mean rsync traversed complete 1000k files in 0.671 seconds? > > Rsync uses an incremental recursion scan by default, so when that is > active the time mentioned is just for the getting-started part of the > scan. I've been thinking aobut making the sender time each extra scan > that it does as the incremental scan progresses and add the times up, > but that is not what rsync currently does. > > ..wayne.. >
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html