Re: KDAR, and libdar suggestions/questions
Johnathan Burchill <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.dar.general |
|---|---|
| Organization | Department of Physics and Astronomy, University of Calgary |
| Message-ID | <[email protected]> |
On September 14, 2003 07:03 am, Denis Corbin wrote: > > The reason I'd like "on-demand" directory listings is that waiting for > > a listing of a 15-CD archive was very slow (after 45 minutes I gave > > up), and took up 95% CPU and 60-80% RAM. With on-demand listings, I > > could list the top-level directory in my tree view, then populate the > > subdirectories as the user clicks on them. > > OK, now I understand your need. > > How much time it takes to dar command-line to list the same archive to > /dev/null (I mean : dar -l archive > /dev/null) ? Why this question ? to > know if it is dar's side or GUI's side slowness. Have you tried the > --enable-mode=64 option with the configure script (rawly, it speeds > execution by 4 times and cut by two the memory requirements) ? More > generally, which option have you given to the configure script ? > > > I appreciate your feedback, CPU: athlon-xp 1800+ memory 512 Mbyte swap 256 Mbyte linux 2.4.19 gcc 3.2.2 configure options: ./configure --enable-largefile I guess I don't have largefile support in the kernel, since dar -V gives Using libdar 1.0 built with compilation time options: Extended Attributes support: NO Large files support (> 2GB): NO ext2fs NODUMP flag support : YES Special allocation scheme : YES Integer size used : unlimited time dar -l /cdrom/igloo-root-030606.1.dar > /dev/null real 11m57.515s user 10m2.300s sys 0m33.000s Right, there are some major optimizations to be done on my GUI code, because it takes much longer than 12 minutes to list the archive! :) And with the enable-mode=64 configure option, time dar -l /cdrom/igloo-root-030606.1.dar > /dev/null real 2m59.620s user 1m56.190s sys 0m27.080s I like the idea of an open/close set of calls to libdar. Cheers, JB -- Johnathan K. Burchill, Ph.D. Department of Physics and Astronomy University of Calgary 2500 University Drive N.W. Calgary, AB T2N 1N4 Canada (403) 217-4286 [email protected] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf