Re: [gentoo-user] Re: How to mount /var to RAM as tmpfs
2009/8/21 Nikos Chantziaras rea...@arcor.de: On 08/21/2009 08:20 AM, Song Zhiwei wrote: Hi all, I am trying to install gentoo to an embedded system and I'd like to mount /var to RAM as tmpfs. How can I do it? I tried to add mount command into the file /etc/conf.d/rc-extra, but it didnot work. Mount points are specified in /etc/fstab. I mount my /var/tmp/portage there with: none /var/tmp/portage tmpfs defaults 0 0 You can look-up the tmpfs mount options to specify the amount of RAM. Default is half the RAM in the system. With that being said, your system will break horribly if you mount /var as a tmpfs. /var is supposed to survive reboots. This is the question. How to mount /var as a tmpfs and the system will not break?
Re: [gentoo-user] Re: How to mount /var to RAM as tmpfs
On Friday 21 August 2009 09:00:58 Song Zhiwei wrote: 2009/8/21 Nikos Chantziaras rea...@arcor.de: On 08/21/2009 08:20 AM, Song Zhiwei wrote: Hi all, I am trying to install gentoo to an embedded system and I'd like to mount /var to RAM as tmpfs. How can I do it? I tried to add mount command into the file /etc/conf.d/rc-extra, but it didnot work. Mount points are specified in /etc/fstab. I mount my /var/tmp/portage there with: none /var/tmp/portage tmpfs defaults 0 0 You can look-up the tmpfs mount options to specify the amount of RAM. Default is half the RAM in the system. With that being said, your system will break horribly if you mount /var as a tmpfs. /var is supposed to survive reboots. This is the question. How to mount /var as a tmpfs and the system will not break? You can't, simple as that. The portage data base is there. You'd have to move it elsewhere along with the cache. Details in the portage documentation. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: dev-libs/boost-1.35.0-r2 and x11-libs/vte-0.17.4-r3 still linked to libpython2.5.so.1.0 after upgrading to python-2.6.2-r1
this is what I wrote in my initial post (I just misspelled it -python-upgrade -) OK. Have a nice day. Roger
Re: [gentoo-user] Network message encryption
On Monday 17 August 2009 16:53:43 Xianwen Chen wrote: Hi Dale, On 8/17/09, Dale rdalek1...@gmail.com wrote: According to the USE flags, it appears that Kopete supports encryption. I have no clue how good it is or if this is exactly what you are looking for but you may want to look into it. Yes, Kopete supports encryption. Thanks for the information. However, I need to use QQ protocal, which isn't right now supported by Kopete. Actually, Kopete does support QQ: [ebuild R ] kde-base/kopete-4.2.4-r1 USE=addbookmarks alias autoreplace contactnotes handbook highlight history jabber msn nowlistening oscar otr pipes privacy qq ssl statistics texteffect translator urlpicpreview yahoo (- aqua) -bonjour -debug -gadu -groupwise -jingle (-kdeprefix) -latex -meanwhile - testbed -webpresence -winpopup 0 kB But you may need to unmask this version. -- Joost
[gentoo-user] May be OT: recommended niceness settings for Portage while using Gnome?
I just got Gnome set up completely on a 5-year-old laptop with 512 MB of RAM running on a P4, and am sort of halfway in the middle of playing with it. In the process, I'm discovering I still need to install a few things. Just one problem. I emerge said things, and the system flatlines until such time as the compilation(s) are done--load is currently sitting at 2.1+. Are there any make.conf settings I can tweak so that I can still actually use the system while things compile, or would I be better off setting things to compile, throwing in a movie, and coming back when they're done? Thanks for any pointers.
Re: [gentoo-user] May be OT: recommended niceness settings for Portage while using Gnome?
On Fri, Aug 21, 2009 at 11:54 AM, James Homuthja...@the-jdh.com wrote: I just got Gnome set up completely on a 5-year-old laptop with 512 MB of RAM running on a P4, and am sort of halfway in the middle of playing with it. In the process, I'm discovering I still need to install a few things. Just one problem. I emerge said things, and the system flatlines until such time as the compilation(s) are done--load is currently sitting at 2.1+. Are there any make.conf settings I can tweak so that I can still actually use the system while things compile, or would I be better off setting things to compile, throwing in a movie, and coming back when they're done? Thanks for any pointers. I've always set portage niceness to 19 (the maximum) on every Gentoo system I've ever built and compiling is usually not noticeable at all. I think in your case the biggest problem would be RAM, since compiling often uses hundreds of megs at a time.
[gentoo-user] Re: May be OT: recommended niceness settings for Portage while using Gnome?
On 08/21/2009 07:54 PM, James Homuth wrote: I just got Gnome set up completely on a 5-year-old laptop with 512 MB of RAM running on a P4, and am sort of halfway in the middle of playing with it. In the process, I'm discovering I still need to install a few things. Just one problem. I emerge said things, and the system flatlines until such time as the compilation(s) are done--load is currently sitting at 2.1+. Are there any make.conf settings I can tweak so that I can still actually use the system while things compile, or would I be better off setting things to compile, throwing in a movie, and coming back when they're done? Thanks for any pointers. Not sure if something changed in recent kernels, but 19 used to be the most efficient value since processes running at 19 are considered batch jobs. They get plenty of CPU time due to longer time-slices (responsiveness suffers, but you don't care about portage being responsive in the first place, so it's optimal.) So: PORTAGE_NICENESS=19 Is best. However, also very important is I/O nice. Setting an ionice value of idle will result in portage not blocking your other applications whey they need to do disk I/O: PORTAGE_IONICE_COMMAND=ionice -c 3 -p \${PID} This needs a kernel newer than 2.6.16 and it has to be configured to use the CFQ scheduler. You know if that's the case if this command: zgrep CFQ /proc/config.gz says: CONFIG_IOSCHED_CFQ=y CONFIG_DEFAULT_CFQ=y
Re: [gentoo-user] Re: May be OT: recommended niceness settings for Portage while using Gnome?
On 8/21/09, Nikos Chantziaras rea...@arcor.de wrote: However, also very important is I/O nice. Setting an ionice value of idle will result in portage not blocking your other applications whey they need to do disk I/O: PORTAGE_IONICE_COMMAND=ionice -c 3 -p \${PID} Yes, as it is a laptop, it's likely to have a slow 5400 RPM disk. I have a nearly same-spec old laptop (~5.5 yo, P4m 2.2GHz, 256+256MB RAM), but I haven't had much trouble with portage emerges on it. Only when something big is due to in the I/O (lots of swapping due to the small RAM, kernel sources being unpacked, 100+ MB file transfer over from LAN etc) has there been slowness which has been annoying. Given the open nature of OP's question I'm also offering MAKEOPTS=-j1. It's not really that much a speed optimization (on the contrary?), but another way to try to keep the disk I/O and CPU to yourself -- even if the compiles will take a bit longer on the background. (And this ionice thing I got to try as well on that old clunker, thanks for the tip!) -- Arttu V.
Re: [gentoo-user] epiphany and firefox want incompatible versions of xulrunner
At Thu, 20 Aug 2009 22:52:31 -0700 Keith Dart ke...@dartworks.biz wrote: === On Fri, 08/21, Beau Henderson wrote: === Not if your @stable. === But firefox 3.5 is not marked stable. Then there is some mixup here. Something must have been funny. My system is stable and it did ask for firefox 3.5 (as I showed in my original post). However, the problem has disappeared with today's sync. Apparently all is now well. Thanks, allan
Re: [gentoo-user] epiphany and firefox want incompatible versions of xulrunner
On 8/22/09, Allan Gottlieb gottl...@nyu.edu wrote: But firefox 3.5 is not marked stable. Then there is some mixup here. Something must have been funny. My system is stable and it did ask for firefox 3.5 (as I showed in my original post). However, the problem has disappeared with today's sync. Apparently all is now well. You're lucky as you caught a sync during the hours when ff 3.5 actually was stable for some select arches: http://bugs.gentoo.org/show_bug.cgi?id=280393 -- Arttu V.
Re: [gentoo-user] Re: May be OT: recommended niceness settings for Portage while using Gnome?
PORTAGE_NICENESS=19 Is best. However, also very important is I/O nice. Setting an ionice value of idle will result in portage not blocking your other applications whey they need to do disk I/O: PORTAGE_IONICE_COMMAND=ionice -c 3 -p \${PID} This needs a kernel newer than 2.6.16 and it has to be configured to use the CFQ scheduler. You know if that's the case if this command: zgrep CFQ /proc/config.gz says: CONFIG_IOSCHED_CFQ=y CONFIG_DEFAULT_CFQ=y Hi, where can I set PORTAGE_NICENESS and PORTAGE_IONICE_COMMAND ? Kind regards, mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] Re: May be OT: recommended niceness settings for Portage while using Gnome?
meino.cra...@gmx.de wrote: PORTAGE_NICENESS=19 Is best. However, also very important is I/O nice. Setting an ionice value of idle will result in portage not blocking your other applications whey they need to do disk I/O: PORTAGE_IONICE_COMMAND=ionice -c 3 -p \${PID} This needs a kernel newer than 2.6.16 and it has to be configured to use the CFQ scheduler. You know if that's the case if this command: zgrep CFQ /proc/config.gz says: CONFIG_IOSCHED_CFQ=y CONFIG_DEFAULT_CFQ=y Hi, where can I set PORTAGE_NICENESS and PORTAGE_IONICE_COMMAND ? Kind regards, mcc In your make.conf file. Dale :-) :-)
Re: [gentoo-user] Re: May be OT: recommended niceness settings for Portage while using Gnome?
On Fri, Aug 21, 2009 at 6:58 PM, meino.cra...@gmx.de wrote: Hi, where can I set PORTAGE_NICENESS and PORTAGE_IONICE_COMMAND ? Kind regards, mcc In /etc/make.conf