You are not logged in.

#1 2009-05-29 17:56:50

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

What does your Arch look like?

Last month I released a tool (pacgraph) which draws a map of every installed package, their interdependencies, and their sizes.  It's gotten nice feedback and I've added requested features such as theming and repository analysis.

By default the theme is set to a vaguely Arch colored scheme.  Check the --help to change it.  This is what my netbook looks like:
laptop.jpg
No two runs are the same.

And this is core/extra/community:
repo.jpg
Yes, all of Arch is only 29 Gb.

I'd like to try to make the layout algorithms even prettier, but I've hit a bit of a snag and could use help.  I only have half a dozen computers with Arch, and they largely look the same.  My sample size is too small.  To make any improvements, I'll need more examples.

Just run

pacgraph --rip

and email me the text file it makes.  It is just a summary the /var/lib/pacman/local/ directory.

Thanks!

Offline

#2 2009-05-29 18:33:11

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: What does your Arch look like?

Sent mine


Matt

"It is very difficult to educate the educated."

Offline

#3 2009-05-30 10:21:52

rwd
Member
Registered: 2009-02-08
Posts: 664

Re: What does your Arch look like?

The topic title made me think, oh noos not another screenie thread. But this is interesting!

Offline

#4 2009-05-30 14:04:18

capnmoney
Member
From: ~
Registered: 2008-10-17
Posts: 108
Website

Re: What does your Arch look like?

Arch 64 on my desktop.   (I'm curious as to why fortune-mod-calvin is way off there by itself instead on next to all the other fortune mods)

tMXI2OQ

... and mail sent.

Thanks for the cool progam.

Last edited by capnmoney (2009-05-30 14:05:58)

Offline

#5 2009-05-30 17:06:10

leprosys
Member
From: El Salvador
Registered: 2009-02-23
Posts: 75
Website

Re: What does your Arch look like?

Yeah cool program wink

pacgraphv.th.png

email sent

Offline

#6 2009-05-30 17:53:15

droog
Member
Registered: 2004-11-18
Posts: 877

Re: What does your Arch look like?

I build the xorg-server-antidesktop from aur and it doesn't show up in the svg or in the pacgraph.txt from running pacgraph -r.
Its the only thing that stood out, not sure if there are any more that don't show up.
If i do pacman -Q | grep xorg it shows up.

Sending the pacgraph.txt.

tMXI3Yg

/edit
On a 2nd look ffmpeg-svn, mplayer-svn and x264-git aren't there either but all show up in pacman -Q.
let me know if you need any info.

Last edited by droog (2009-05-30 18:06:48)

Offline

#7 2009-05-30 18:57:53

tyr0
Member
Registered: 2007-06-02
Posts: 152

Re: What does your Arch look like?

Really great idea! Tried to mail my txt, but the forum-mail does not support messages longer than 65535 characters.

Offline

#8 2009-05-30 20:33:32

droog
Member
Registered: 2004-11-18
Posts: 877

Re: What does your Arch look like?

tyr0 wrote:

Really great idea! Tried to mail my txt, but the forum-mail does not support messages longer than 65535 characters.

I just uploaded mine somewhere and emailed him the link, since no attachments can be sent.

Offline

#9 2009-05-30 21:02:49

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: What does your Arch look like?

I got droog's email and replied to that before noticing he first posted here.  You can get my address from my site.

CC of what I sent droog:

Thanks.

The output does not list every package you have installed.  For
example, if Skype is the only Qt app you have, Qt's deps and size will
be absorbed into Skype.  I will look into it and make sure there is
not anything more serious going on.

This has been mostly beneficial.  The process removes around a third of packages, and makes the size of the blue top level packages reflect the space freed by "pacman -Rssc".  It makes the graph much more useful and readable.  Here is a good example.  It is a gnome system, with KDE installed just for the sake of Amarok.  So Amarok + kde deps is about 300Mb, and it shows.

Last edited by keenerd (2009-05-30 21:46:01)

Offline

#10 2009-05-30 21:22:47

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: What does your Arch look like?

capnmoney wrote:

I'm curious as to why fortune-mod-calvin is way off there by itself instead on next to all the other fortune mods

Speed.  Pacgraph chooses a reasonable order to place packages, based primarily on the degree centrality.  (So glibc will always be the middle.)  Each following package is placed like a spoke of a wheel from their most central parent.  The spoke gets longer and longer until it finds a clear spot.  Once a location is found, it is locked in place and the next package is placed.

Why did this cause your glitch?  Pacgraph can't afford to waste time checking if a spoke's initial heading is clear.  It tries to avoid nearby packages, but this is just a rough estimate.  Unfortunately the heading was occupied by haiku, discworld, mirage and the kernel.  I am a little surprised it overshot kernel by so much.  I am working on this, and all your package listings will help significantly.

For comparison, graphviz makes all these links flexible springs and tries to jiggle nodes into a lower energy configuration.  This compromise lets pacgraph's plotter run in O(n log(n)) vs graphviz/dot which runs O(n^4).  Needless to say, plotting all of Arch's 3000-odd packages in graphviz takes much longer than in pacgraph.  (Folk on the graphviz email list say it shouldn't be used for more than a hundred nodes.)

Glad you guys are enjoying it!

Last edited by keenerd (2009-05-30 21:24:58)

Offline

#11 2009-05-31 09:50:27

CalcAndCoffee
Member
From: New York, NY
Registered: 2009-02-23
Posts: 51
Website

Re: What does your Arch look like?

I've just sent mine.

Extremely cool idea and program! big_smile

Offline

#12 2009-05-31 10:22:01

dannytatom
Member
From: Seattle, WA
Registered: 2009-02-02
Posts: 229
Website

Re: What does your Arch look like?

3835652_bigthumb.png

E-mail sent. smile


dnyy in IRC & Urban Terror

Offline

#13 2009-05-31 14:22:07

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Re: What does your Arch look like?

Really nice!

You got mail. :-)


PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM

Offline

#14 2009-06-06 02:26:22

Bionic Apple
Member
Registered: 2008-08-05
Posts: 59

Re: What does your Arch look like?

pacgraph-300x241.png

Email sent.

Last edited by Bionic Apple (2009-06-06 02:27:27)

Offline

#15 2009-06-06 04:58:45

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: What does your Arch look like?

Awesome week!  Altogether, there were more than a dozen rips.  Thanks, all who sent in.

New version, new feature!  It is very young, but "pacgraph-i" is an interactive Tk based GUI.  There are a number of visual and usability issues.  Some are fixable (window resizing, off center zooming and off center text), other not so much (no antialiasing or transparency in tk).  It is missing a sidebar/search, maybe tomorrow.

Offline

#16 2009-06-06 11:40:37

aantipop
Member
Registered: 2008-02-15
Posts: 46

Re: What does your Arch look like?

---

Last edited by aantipop (2009-06-06 14:24:51)


rainbow networks - we bring colour to your gibs

Offline

#17 2009-12-20 19:52:06

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: What does your Arch look like?

pacgraph.jpg

Offline

#18 2009-12-21 22:49:05

melik
Member
Registered: 2009-10-11
Posts: 108

Re: What does your Arch look like?

Offline

#19 2009-12-22 03:30:49

teh
Member
From: Tijuana, Mexico
Registered: 2009-07-07
Posts: 374
Website

Re: What does your Arch look like?

This is my Arch one month ago:

pacgraphmini.png


I only replace go-OO for Abiword like a week ago, and that's all.

Last edited by teh (2009-12-22 03:35:12)


arst

Offline

#20 2009-12-22 11:43:30

Shapeshifter
Member
Registered: 2008-03-11
Posts: 231

Re: What does your Arch look like?

I like this.

pacgraphs.png

edit:
/me just notices: Why on earth do I still have eclipse installed? >.>
/me goes uninstalling eclipse

Last edited by Shapeshifter (2009-12-22 11:45:53)

Offline

#21 2009-12-23 13:39:31

gnu_D
Member
From: Macedonia
Registered: 2007-10-21
Posts: 46

Re: What does your Arch look like?

You don't match with mine, ]:), ~ >12000 MB packages.

My Arch is since 2007 btw.
pacgraph.png
P.S> If someone wants more quality version of the screenshot || svg version, I'll email it.

Last edited by gnu_D (2009-12-23 13:51:14)


:: Python powered FOREVER ::

Offline

#22 2009-12-23 22:43:42

Xenokite
Member
From: Linden, NJ USA
Registered: 2009-03-14
Posts: 96
Website

Re: What does your Arch look like?

Here is mines

pacgraph.png


Registered Linux user :#500622
"être fort pour être utile" (be strong to be useful) —Georges Hébert
"There is only Good people and Bad people, we should not be judged by Race, religion or sex but we should be judged by our deeds or actions." - Lindsey Irving
Xenokite aka Lycan

Offline

#23 2009-12-24 11:13:52

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: What does your Arch look like?

Just submitted my pacgraph.txt

check my graph here
pacgraph.th.png


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#24 2009-12-24 12:09:58

muunleit
Member
From: Germany
Registered: 2008-02-23
Posts: 234

Re: What does your Arch look like?

pacgraph.jpg   pacgraph.svg (73 KB)

e-mail sent


"The mind can make a heaven out of hell or a hell out of heaven" -- John Milton

Offline

#25 2009-12-24 12:20:25

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: What does your Arch look like?

Sweet.  Thanks!

Offline

Board footer

Powered by FluxBB