Re: lets talk about dependancies again...

Jef Spaleta <[email protected]> 04 Oct 2002 11:45:40 -0400
Newsgroups gmane.linux.redhat.rpm.grab
Message-ID <1033746340.11967.7.camel@spatula>
is sudo getting in the way of your speeds...my tests from my cable modem
were much faster than your tests...(less than 2 seconds for the
provides  and about 19 seconds for the actually test update) but I took
the sudo out of the command chain and was native root.  Maybe sudo is
adding some overhead here?

Maybe I'll cron the test and do a few hundred timings and get stats. 
But my single point stat seems to indicate you have a problem that I
don't...and I have to be on a slower connection that you since its a
crappy cable modem

-jef

On Fri, 2002-10-04 at 09:35, Greg Kurtzer wrote:
> I am not sure what/why it got soo slow, but check this out:
> 
> [gmkurtzer@spike gmkurtzer]$ time sudo /bin/rpm -Uvh --nosignature --test
> ftp://altruistic.lbl.gov/pub/repositories/redhat-8.0-i386/RPMS/4Suite-0.11.1-10.i386.rpm
> Retrieving
> ftp://altruistic.lbl.gov/pub/repositories/redhat-8.0-i386/RPMS/4Suite-0.11.1-10.i386.rpm
> Preparing...                ########################################### [100%]
>         package 4Suite-0.11.1-10 is already installed
> 
> real    0m41.125s
> user    0m0.473s
> sys     0m0.299s
> [gmkurtzer@spike gmkurtzer]$ time sudo /bin/rpm -qp --provides --nosignature
> ftp://altruistic.lbl.gov/pub/repositories/redhat-8.0-i386/RPMS/Canna-3.5b2-70.i386.rpm
> Canna = 3.5b2-70
> 
> real    1m36.449s
> user    0m0.178s
> sys     0m0.080s
> 
> Why is it taking twice as long to do the --provides rather then the install? I
> am quite certain that this was not the case with RPM40.
signature.asc (application/pgp-signature, 232 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA9nbekrWLDmRitRZURAvksAJ9AYhsZZy2/1loqGepqPi2unlTWagCfX336
jJi2tGD1FpSrSRSUMGSqHio=
=EH6C
-----END PGP SIGNATURE-----