Re: [gentoo-user] Size of portage tree
Hi, On Wed, 28 Sep 2005 15:52:17 +0200 Etaoin Shrdlu <[EMAIL PROTECTED]> wrote: > Also, the block size of the file system in which /usr/portage lives can > make a big difference. True. See below... > Try a clean /usr/portage on an ext2/3 filesystem vs. a /usr/portage on > reiserfs and you'll see what I mean. FS type isn't about blocksize (well, maybe about blocksize constraints). Reiserfs supports putting more than one file in a single block, that's why using Reiser makes a difference, too. But reg. blocksize: $ du -sh --exclude=packages --exclude=distfiles /usr/portage/ 138M/usr/portage/ Neat, eh? That's because of this: $ xfs_info /usr/portage/ [...] data = bsize=512blocks=706792, imaxpct=25 = sunit=0 swidth=0 blks, unwritten=1 [...] As you can see, a blocksize of 512 bytes is enough to keep portage small. I've dedicated a small partition to the portage tree because of this. -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Size of portage tree
see here for a tip on cleaning it out http://clug.net.nz/index.php/GentooTips On Wed, 28 Sep 2005 16:15:22 +0300 Vladimir Mikhailichenko wrote: > And my /usr/portage/distfiles = 15Gb :) > > > I've noticed /usr/portage is standing at a little over 2 gigs in > > size. Is this about normal? > > > -- > gentoo-user@gentoo.org mailing list -- Nick Rout <[EMAIL PROTECTED]> -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Size of portage tree
On Wednesday 28 September 2005 14:43, glumtail wrote: > You can alway rm /usr/portage/distfiles/ > Those files can be downloaded again when emerge. Also, the block size of the file system in which /usr/portage lives can make a big difference. Try a clean /usr/portage on an ext2/3 filesystem vs. a /usr/portage on reiserfs and you'll see what I mean. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Size of portage tree
Harry Putnam wrote: I've noticed /usr/portage is standing at a little over 2 gigs in size. Is this about normal? Just add a crontab entry to delete files older then, say, 30 days in /usr/portage/distfiles. I've noticed on ~x86 that there is often a number of portage changes on the same release for the first few days, so doing this daily is too much, but 15-30 days is about right. --Kurt -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Size of portage tree
Ryan Viljoen wrote: If you do a: du -hs /usr/portage/distfiles and a du -hs /usr/portage You will see that the majority of the space is taken up by the distfiles. This is where emerge stores all the packages that it downloads when installing them on your system. To decrease the size of the directory you can go through it and delete older versions of packages such as: I have: zlib-1.2.1.tar.bz2 zlib-1.2.3.tar.bz2 So you could delete zlib-1.2.1.tar.bz2 since there is a new version. I think there are some scripts out there that do such things but I havent bothered to find them. I wouldnt suggest deleting all the files since if you want to reinstall or add new packages they may require files that have been already downloaded ie: save you the time and bandwidth of redownloading them. if you use getdelta to fetch updates you can set REMOVE_OLD=true in /etc/deltup/getdelta.rc and it will delete old file as above zlib-1.2.1.tar.bz2 after successfull make of new version from patches. More about getdelta on [1] [1] http://gentoo-wiki.com/HOWTO_Install_Deltup Greets Paweł -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Size of portage tree
And my /usr/portage/distfiles = 15Gb :) > I've noticed /usr/portage is standing at a little over 2 gigs in > size. Is this about normal? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Size of portage tree
On Wednesday 28 September 2005 21:49, Michael Kjorling wrote: > Don't forget that portage keeps all downloaded source code in > /usr/portage/distfiles. The actual portage tree totals something like > 100 MB plus losses due to inode/block size. A couple of years ago it not much more than 100MB, but nowadays... /mnt/archive/gentoo $ du -sh * 750Mdistfiles 516Mrsync -- Jason Stubbs -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Size of portage tree
And my /usr/portage/distfiles = 15Gb :) > I've noticed /usr/portage is standing at a little over 2 gigs in > size. Is this about normal? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Size of portage tree
Sorry forgot to add, yeah its pretty much normal, my results: du -hs /usr/portage/distfiles = 1.9Gb du -hs /usr/portage/distfiles/portage = 2.4Gb Cheers Rav On 9/28/05, Harry Putnam <[EMAIL PROTECTED]> wrote: I've noticed /usr/portage is standing at a little over 2 gigs insize. Is this about normal?-- gentoo-user@gentoo.org mailing list -- "When you say "I wrote a program that crashed Windows", people just stare at you blankly and say "Hey, I got those with the system, for free". - Linus Torvalds, 1995 -- "When you say "I wrote a program that crashed Windows", people just stare at you blankly and say "Hey, I got those with the system, for free". - Linus Torvalds, 1995
Re: [gentoo-user] Size of portage tree
If you do a: du -hs /usr/portage/distfiles and a du -hs /usr/portage You will see that the majority of the space is taken up by the distfiles. This is where emerge stores all the packages that it downloads when installing them on your system. To decrease the size of the directory you can go through it and delete older versions of packages such as: I have: zlib-1.2.1.tar.bz2 zlib-1.2.3.tar.bz2 So you could delete zlib-1.2.1.tar.bz2 since there is a new version. I think there are some scripts out there that do such things but I havent bothered to find them. I wouldnt suggest deleting all the files since if you want to reinstall or add new packages they may require files that have been already downloaded ie: save you the time and bandwidth of redownloading them. Cheers Rav On 9/28/05, Harry Putnam <[EMAIL PROTECTED]> wrote: I've noticed /usr/portage is standing at a little over 2 gigs insize. Is this about normal?--gentoo-user@gentoo.org mailing list -- "When you say "I wrote a program that crashed Windows", people just stare at you blankly and say "Hey, I got those with the system, for free". - Linus Torvalds, 1995
Re: [gentoo-user] Size of portage tree
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2005-09-28 07:30 -0500, [EMAIL PROTECTED] wrote: > I've noticed /usr/portage is standing at a little over 2 gigs in > size. Is this about normal? Don't forget that portage keeps all downloaded source code in /usr/portage/distfiles. The actual portage tree totals something like 100 MB plus losses due to inode/block size. My workstation's "portage" directory is about 2.4 GB. - -- Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/ * ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments * * . No bird soars too high if he soars with his own wings . * -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDOpF0dY+HSb3praYRAtdSAJ9BttgwBNN37AAcQlaYnsIP7RJxIQCdEzVb llqzj1EiuuIAMc949zh+dAw= =Gn2k -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Size of portage tree
You can alway rm /usr/portage/distfiles/ Those files can be downloaded again when emerge. On 9/28/05, Harry Putnam <[EMAIL PROTECTED]> wrote: > I've noticed /usr/portage is standing at a little over 2 gigs in > size. Is this about normal? > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
[gentoo-user] Size of portage tree
I've noticed /usr/portage is standing at a little over 2 gigs in size. Is this about normal? -- gentoo-user@gentoo.org mailing list