Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[GENTOO] PackageManager showdowns
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 3891
Location: UK - Birmingham

PostPosted: Sun Mar 30, 2008 8:56 pm    Post subject: [GENTOO] PackageManager showdowns Reply with quote

FOr quite some time the Paludis lot have been saying how broken portage is and how slow it is (and thus how fast paludis is) as well as a load of other "noise"

Well enough talk and more actual benchmarking


#1 some code mangling comes up with a poor easter-egg for April 1st
http://gentooexperimental.org/~patrick/weblog/archives/2008-03.html#e2008-03-29T21_36_39.txt

just an aside

#2 install times, footprints,
http://gentooexperimental.org/~patrick/weblog/archives/2008-03.html#e2008-03-30T00_31_03.txt
Code:

portage:            Total files : 186
           Total size  : 1504.34 KiB
pkgcore:            Total files : 409
           Total size  : 2121.04 KiB
paludis:           Total files : 1887
           Total size  : 41662.27 KiB


And what abt general speed comparison?
Code:

emerge -p gnome && time emerge -p gnome 5 seconds
354 lines of output

pmerge -p gnome && time pmerge -p gnome 2 seconds
349 lines of output

paludis -ip gnome && time paludis -ip gnome 12 seconds
2071 lines of output plus ~100 on stderr


mmmm nice and slow

Basically Paludis is HUGE w.r.t. the other two managers as well as being virtually complely a non drop-in replacement (w.r.t. commands, behaviour and such). Read artical for infomation on help comparision, general command differences,


finally

#3 bit more in-depth benchmark
http://gentooexperimental.org/~patrick/weblog/archives/2008-03.html#e2008-03-30T22_30_23.txt
Code:

Setup:

    * A naked stage3, untarred and waiting to be used
    * One emerge --sync to get a pristine ebuild tree
    * An update gcc (4.1.2) to make the mangler happy
    * emerge pkgcore
    * emerge paludis

That setup is pretty much in the same state I left it yesterday.
So let's just try to resolve gnome with a cold cache. For that we run "echo 3 > /proc/sys/vm/drop_caches" and notice that the filesystem caches have shrunk to a minimum.
Edit: forgot the exact commands. emerge -p $1, pmerge -p $1, paludis -ip $1

Times
0m30.054s; 0m29.824s; 0m15.890s
All three are wall time as measured by "time"- can you guess who is who?

Same with KDE:
0m10.285s; 0m14.402s; 0m16.949s

And now xorg-x11 plus kde plus gnome:
0m18.182s; 0m23.251s; 0m34.159s


oh yes. paludis is nice and fast :roll: :roll: :roll:




any disagreements can be met with equal benchmarks no BS hotair from either side
_________________
Quote:
Voting holds no real power, he who counts the votes has the true power.

Weaver Projects
whats the difference between 9/11 and a cow?
u stop milking a cow after 10 years


Last edited by Naib on Sun Mar 30, 2008 9:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
ShiRhoHaiSun
n00b
n00b


Joined: 28 Mar 2008
Posts: 1

PostPosted: Sun Mar 30, 2008 8:59 pm    Post subject: What you say? Reply with quote

Is fake? Paludis people always say is faster, u claim they not speak thruth always?

Very confusing!
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 3891
Location: UK - Birmingham

PostPosted: Sun Mar 30, 2008 9:01 pm    Post subject: Reply with quote

yes 2+2=4 is also fake
_________________
Quote:
Voting holds no real power, he who counts the votes has the true power.

Weaver Projects
whats the difference between 9/11 and a cow?
u stop milking a cow after 10 years
Back to top
View user's profile Send private message
dleverton
Guru
Guru


Joined: 28 Aug 2006
Posts: 517

PostPosted: Sun Mar 30, 2008 9:02 pm    Post subject: Reply with quote

That blog is full of lies, hypocrisy and personal attacks.
Back to top
View user's profile Send private message
ShiRhoHaiSun
n00b
n00b


Joined: 28 Mar 2008
Posts: 1

PostPosted: Sun Mar 30, 2008 9:05 pm    Post subject: hmm? Reply with quote

dleverton wrote:
That blog is full of lies, hypocrisy and personal attacks.

U can show errors in post? I'm wondering how it is fail.
Back to top
View user's profile Send private message
Kate Monster
Apprentice
Apprentice


Joined: 13 Jun 2006
Posts: 209
Location: Clarkston, Michigan

PostPosted: Sun Mar 30, 2008 9:05 pm    Post subject: Reply with quote

Interesting. I remember putting paludis on my laptop before I killed my install several months back, and thinking that it was alot faster than portage. Guess that's not the case anymore.
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 3891
Location: UK - Birmingham

PostPosted: Sun Mar 30, 2008 9:09 pm    Post subject: Reply with quote

Xaero wrote:
Interesting. I remember putting paludis on my laptop before I killed my install several months back, and thinking that it was alot faster than portage. Guess that's not the case anymore.


Thats the thing, there has always been "Placebo" with everything, its just human psychology to think something is better because that is what is said so yr mind fills in the blanks. But at the end of the day it is hard numbers that do the talking - that is why drug trials have control patients that take a placebo drug to rule out the mind doing the work

and again any disagreement with these results can easily be met with test done by anyone
_________________
Quote:
Voting holds no real power, he who counts the votes has the true power.

Weaver Projects
whats the difference between 9/11 and a cow?
u stop milking a cow after 10 years
Back to top
View user's profile Send private message
Kate Monster
Apprentice
Apprentice


Joined: 13 Jun 2006
Posts: 209
Location: Clarkston, Michigan

PostPosted: Sun Mar 30, 2008 9:47 pm    Post subject: Reply with quote

Naib wrote:
Xaero wrote:
Interesting. I remember putting paludis on my laptop before I killed my install several months back, and thinking that it was alot faster than portage. Guess that's not the case anymore.


Thats the thing, there has always been "Placebo" with everything, its just human psychology to think something is better because that is what is said so yr mind fills in the blanks. But at the end of the day it is hard numbers that do the talking - that is why drug trials have control patients that take a placebo drug to rule out the mind doing the work

and again any disagreement with these results can easily be met with test done by anyone
That's true, it was several months ago though, maybe at that time paludis was faster than portage.

btw, did anyone else catch this bit in the article?
Quote:
At first I thought about methods of skewing the benchmarks if needed.
That's nice to know. :? I think if I get the time I will try and perform the same benchmark he did just to see how accurate his is, because now I'm curious.
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Sun Mar 30, 2008 9:52 pm    Post subject: Reply with quote

On my current system, with no KDE components installed.

Code:

emerge -p kde ; time emerge -p kde
real    0m3.031s
user    0m2.824s
sys     0m0.164s

paludis -ip kde ; time paludis -ip kde (using suboptimal portage config files)
real    0m2.704s
user    0m2.088s
sys     0m0.596s

pmerge -p kde ; time pmerge -p kde
real    0m0.593s
user    0m0.547s
sys     0m0.044s
Back to top
View user's profile Send private message
Zougloub
n00b
n00b


Joined: 14 Dec 2007
Posts: 30

PostPosted: Sun Mar 30, 2008 10:09 pm    Post subject: Reply with quote

Doing pkgmgr -p stuff ; time pkgmgr -p stuff is not fair to Paludis.
That's not what users do, why benchmark this way... just use pkgmgr -p stuff and you'll get very different results.

Btw, don't expect to get objective benchmarks from Naib or patrick.

Let's imagine that paludis was indeed slower than emerge or pkgcore (which is not the case) ; I would be still using it.
It is fast and offers convenient features.

--
Someone who used portage for a long time, uses paludis everyday and expects pkgcore to get better (ie. work) some day.
Back to top
View user's profile Send private message
zixnub
n00b
n00b


Joined: 27 Dec 2007
Posts: 63
Location: Brasschaat, Belgium

PostPosted: Sun Mar 30, 2008 10:22 pm    Post subject: Reply with quote

You could convert portage with jythonc to java bytecode and have it run at java speeds :lol:
_________________
http://trinity.netcat.be
http://code.google.com/p/ewm
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Sun Mar 30, 2008 10:28 pm    Post subject: Pkgcore is the fastest package manager??? Reply with quote

I just read this

http://gentooexperimental.org/~patrick/weblog

Is this true? or are the results skewed? :)
_________________
Helpful Linux Tidbits
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1584
Location: Gentoo64 land

PostPosted: Sun Mar 30, 2008 10:32 pm    Post subject: Reply with quote

Quote:
Conclusion
At first I thought about methods of skewing the benchmarks if needed.

garbage. regardless of any relative technical merit it may have.
Back to top
View user's profile Send private message
Jokey_
Developer
Developer


Joined: 24 Jan 2006
Posts: 34
Location: Germany

PostPosted: Sun Mar 30, 2008 10:42 pm    Post subject: Reply with quote

So for my results...

Setup is a stage3, then world updated, then installed pkgmanagers (used make.conf an package.keywords attached) and run portage2paludis.bash to allow paludis to use its native stuff.

To eliminate most of the caching mess, I copied the whole portage tree to a ramdisk (which sums up to 339116 kb, so if you have a gig ram as I do, you should see same results)

results (test script ran twice):
http://dev.gentoo.org/~jokey/bench/timings

test script
http://dev.gentoo.org/~jokey/bench/testme.sh

cpuinfo
http://dev.gentoo.org/~jokey/bench/cpuinfo

make.conf + package.keywords needed for initial merge
http://dev.gentoo.org/~jokey/bench/make.conf
http://dev.gentoo.org/~jokey/bench/package.keywords

as vdb still needs to be accessed, yet to prove hdd is sufficiently fast:
# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 2418 MB in 2.00 seconds = 1209.85 MB/sec
Timing buffered disk reads: 190 MB in 3.02 seconds = 62.86 MB/sec
_________________
Your ebuild bug is assigned maintainer-wanted? Maintain it yourself in the gentoo user overlay
http://overlays.gentoo.org/proj/sunrise | irc.freenode.net #gentoo-sunrise
Back to top
View user's profile Send private message
ShiRhoHaiSun
n00b
n00b


Joined: 28 Mar 2008
Posts: 1

PostPosted: Sun Mar 30, 2008 10:44 pm    Post subject: Reply with quote

Zougloub wrote:
Doing pkgmgr -p stuff ; time pkgmgr -p stuff is not fair to Paludis.
That's not what users do, why benchmark this way... just use pkgmgr -p stuff and you'll get very different results.

Is not default action to see useflags etc.etc. ? In compile no difference I say!

Zougloub wrote:

Btw, don't expect to get objective benchmarks from Naib or patrick.

You have numbers different? Would be nice to see what you from it get!

Zougloub wrote:

Let's imagine that paludis was indeed slower than emerge or pkgcore (which is not the case) ; I would be still using it.
It is fast and offers convenient features.

So why not use Ubuntu, has automatic updates. Use Windows, even easier! But looks like not much friendly being here is ... :(
Back to top
View user's profile Send private message
think4urs11
Administrator
Administrator


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sun Mar 30, 2008 10:53 pm    Post subject: Reply with quote

merged Dirk.R.Gently & jonnevers in here
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
dleverton
Guru
Guru


Joined: 28 Aug 2006
Posts: 517

PostPosted: Sun Mar 30, 2008 10:57 pm    Post subject: Reply with quote

Yep, pkgcore is the fastest.
Back to top
View user's profile Send private message
ShiRhoHaiSun
n00b
n00b


Joined: 28 Mar 2008
Posts: 1

PostPosted: Sun Mar 30, 2008 11:12 pm    Post subject: Reply with quote

dleverton wrote:
Yep, pkgcore is the fastest.


Haha, u need to test on gentoo system, not sabayon. U silly ricer. -funroll-loops -funroll-all-over-floor !!
Back to top
View user's profile Send private message
ShiRhoHaiSun
n00b
n00b


Joined: 28 Mar 2008
Posts: 1

PostPosted: Sun Mar 30, 2008 11:13 pm    Post subject: Reply with quote

jonnevers wrote:
Quote:
Conclusion
At first I thought about methods of skewing the benchmarks if needed.

garbage. regardless of any relative technical merit it may have.

U not like facts? Why?
Back to top
View user's profile Send private message
dleverton
Guru
Guru


Joined: 28 Aug 2006
Posts: 517

PostPosted: Sun Mar 30, 2008 11:15 pm    Post subject: Reply with quote

ShiRhoHaiSun wrote:
Haha, u need to test on gentoo system, not sabayon. U silly ricer. -funroll-loops -funroll-all-over-floor !!

No, I'm quite sure that I'm using Gentoo. I'm also quite sure that I'm not using any ridiculous CFLAGS. I'm also quite sure that that's a personal attack, although I won't bother reporting it because apparently attacking Paludis users and devs is perfectly acceptable on this forum.
Back to top
View user's profile Send private message
ShiRhoHaiSun
n00b
n00b


Joined: 28 Mar 2008
Posts: 1

PostPosted: Sun Mar 30, 2008 11:21 pm    Post subject: Reply with quote

dleverton wrote:
No, I'm quite sure that I'm using Gentoo. I'm also quite sure that I'm not using any ridiculous CFLAGS. I'm also quite sure that that's a personal attack, although I won't bother reporting it because apparently attacking Paludis users and devs is perfectly acceptable on this forum.

U started attack. Saying everything a lie ... now you can't tolerate opinion? Very not nice. U should not hit others if u start crying when someone looks back ...
And it not gentoo system if not portage runnable. Next u say Ubuntu is gentoo too and we all laugh and drink beer?
Back to top
View user's profile Send private message
dleverton
Guru
Guru


Joined: 28 Aug 2006
Posts: 517

PostPosted: Sun Mar 30, 2008 11:26 pm    Post subject: Reply with quote

ShiRhoHaiSun wrote:
U started attack. Saying everything a lie
I didn't attack anyone, I stated a fact.
ShiRhoHaiSun wrote:
... now you can't tolerate opinion?
Whether or not I use Sabayon is not a matter of opinion.
ShiRhoHaiSun wrote:
Very not nice. U should not hit others if u start crying when someone looks back ...
See above.
ShiRhoHaiSun wrote:
And it not gentoo system if not portage runnable.
1) A Gentoo system is one primarily built with ebuilds from Gentoo's repository. (I say "primarily" because many people use personal or third-party overlays, and I don't think we want to exclude those.)
2) If you would actually read my link, you would see that Portage worked fine. It was pkgcore that died spectacularly.
ShiRhoHaiSun wrote:
Next u say Ubuntu is gentoo too and we all laugh and drink beer?
Only if you can tell me how to build an Ubuntu system using ebuilds from Gentoo's repository.
Back to top
View user's profile Send private message
UberPinguin
Guru
Guru


Joined: 20 Nov 2005
Posts: 505
Location: 2416.94 Miles From Home

PostPosted: Sun Mar 30, 2008 11:34 pm    Post subject: Reply with quote

dleverton wrote:
Yep, pkgcore is the fastest.
It's pretty clear from the error messages spat out by portage that paludis has mangled a number of important files, which might go a long way to explaining why pmerge doesn't work on your system. How about you try again, this time with each package manager in an independent chroot or VM?
_________________
aidanjt wrote:
You see, instead of arguing from ignorance, and fear, there is only one way to verify a theory. And that's not by clutching a black book and begging the sky fairy for deliverance from the mad scientists and their big machines.
Back to top
View user's profile Send private message
tylerwylie
Guru
Guru


Joined: 19 Sep 2004
Posts: 455
Location: /US/Illinois/Champaign

PostPosted: Sun Mar 30, 2008 11:36 pm    Post subject: Reply with quote

Lol Gentoo.
_________________
POLITICS, n. A strife of interests masquerading as a contest of principles. The conduct of public affairs for private advantage.
Back to top
View user's profile Send private message
dleverton
Guru
Guru


Joined: 28 Aug 2006
Posts: 517

PostPosted: Sun Mar 30, 2008 11:39 pm    Post subject: Reply with quote

UberPinguin wrote:
It's pretty clear from the error messages spat out by portage that paludis has mangled a number of important files
Those are warnings, not errors, and Paludis has done no such thing.
UberPinguin wrote:
which might go a long way to explaining why pmerge doesn't work on your system.
No, pmerge doesn't work because it cries like a little baby at the first thing it sees that it doesn't recognise. If you want see for yourself with something that is supported by portage, you might like to put a -foo/bar line in an overlay profiles/package.mask, but I didn't do that because adding it just to make pkgcore look bad would be cheating.
UberPinguin wrote:
How about you try again, this time with each package manager in an independent chroot or VM?
Why?
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Off the Wall All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum