Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-14 Thread Garrett Cooper
Garrett Cooper wrote: Garrett Cooper wrote: Tim Kientzle wrote: -I tried ... buffering ... the +CONTENTS file parsing function, and the majority of the time it yielded good results One approach I prototyped sometime back was to use libarchive in pkg_add as follows: * Open the

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-14 Thread Pav Lucistnik
Garrett Cooper píše v so 14. 07. 2007 v 04:04 -0700: I've posted HTML results of the interpreted spreadsheet on http://students.washington.edu/posted/atk.htm. I'll provide commentary tomorrow after I get some sleep. Nothing on that URL. -- Pav Lucistnik [EMAIL PROTECTED]

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-14 Thread Tim Kientzle
4. CSV files available at: http://students.washington.edu/youshi10/posted/atk-results.tgz. I've posted HTML results of the interpreted spreadsheet on http://students.washington.edu/posted/atk.htm. I'll provide commentary tomorrow after I get some sleep. I think the second one should be:

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-14 Thread Garrett Cooper
Tim Kientzle wrote: 4. CSV files available at: http://students.washington.edu/youshi10/posted/atk-results.tgz. I've posted HTML results of the interpreted spreadsheet on http://students.washington.edu/posted/atk.htm. I'll provide commentary tomorrow after I get some sleep. I think the

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-14 Thread Tim Kientzle
The following blog post has all of my commentary on the results I have: http://blogs.freebsdish.org/gcooper/2007/07/14/modifications-to-pkg_install-the-positive-and-negative-implications/. I tried to unroll strcmp a bit by checking for the first character of the command, then run strcmp

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-14 Thread Garrett Cooper
Tim Kientzle wrote: The following blog post has all of my commentary on the results I have: http://blogs.freebsdish.org/gcooper/2007/07/14/modifications-to-pkg_install-the-positive-and-negative-implications/. I tried to unroll strcmp a bit by checking for the first character of the

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-13 Thread Garrett Cooper
Garrett Cooper wrote: Tim Kientzle wrote: -I tried ... buffering ... the +CONTENTS file parsing function, and the majority of the time it yielded good results One approach I prototyped sometime back was to use libarchive in pkg_add as follows: * Open the archive * Read +CONTENTS

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-12 Thread Garrett Cooper
Tim Kientzle wrote: -I tried ... buffering ... the +CONTENTS file parsing function, and the majority of the time it yielded good results One approach I prototyped sometime back was to use libarchive in pkg_add as follows: * Open the archive * Read +CONTENTS directly into memory

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-06 Thread Tim Kientzle
I'm currently running a gamut of tests (500 tests, per package -- 128 total on my server), and outputting all data to CSV files to interpret later, using another Perl script to interpret calculated averages and standard deviations. Excellent! Much-needed work. Using basic printf(2)'s

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-06 Thread Garrett Cooper
Tim Kientzle wrote: I'm currently running a gamut of tests (500 tests, per package -- 128 total on my server), and outputting all data to CSV files to interpret later, using another Perl script to interpret calculated averages and standard deviations. Excellent! Much-needed work.

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-06 Thread Tim Kientzle
-I tried ... buffering ... the +CONTENTS file parsing function, and the majority of the time it yielded good results One approach I prototyped sometime back was to use libarchive in pkg_add as follows: * Open the archive * Read +CONTENTS directly into memory (it's guaranteed to

Re: Finding slowdowns in pkg_install

2007-07-06 Thread Michel Talon
Tim Kientzle said: One approach I prototyped sometime back was to use libarchive in pkg_add as follows: * Open the archive * Read +CONTENTS directly into memory (it's guaranteed to always be first in the archive) I can only concur with that. In my program

Re: Finding slowdowns in pkg_install

2007-07-06 Thread youshi10
On Fri, 6 Jul 2007, Michel Talon wrote: Tim Kientzle said: One approach I prototyped sometime back was to use libarchive in pkg_add as follows: * Open the archive * Read +CONTENTS directly into memory (it's guaranteed to always be first in the archive) I can only concur with that. In

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-05 Thread Garrett Cooper
Garrett Cooper wrote: I'm currently running a gamut of tests (500 tests, per package -- 128 total on my server), and outputting all data to CSV files to interpret later, using another Perl script to interpret calculated averages and standard deviations. Using basic printf(2)'s with

Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-05 Thread Garrett Cooper
I'm currently running a gamut of tests (500 tests, per package -- 128 total on my server), and outputting all data to CSV files to interpret later, using another Perl script to interpret calculated averages and standard deviations. Using basic printf(2)'s with clock_gettime(2) I have