Re: [gentoo-user] Dual or Quad CPU complications?

2012-12-13 Thread Luis Gustavo Vilela de Oliveira
I believe NUMA is only used on multiprocessor machine and not on only
multicore.

http://en.wikipedia.org/wiki/Non-Uniform_Memory_Access


2012/12/13 J. Roeleveld 

> Florian Philipp  wrote:
>>
>> Am 13.12.2012 07:23, schrieb Alan McKinnon:
>>
>>>
>>> On Wed, 12 Dec 2012 22:12:18 -0800
>>> Grant  wrote:
>>>
>>>
 I've only ever used systems with a single CPU.  I'm looking for a new
 host for a dedicated server (suggestions?) and it looks like I'll
 probably choose a machine with two or four CPUs.  What sort of
 complications does that add to set up and/or maintenance with Gentoo?
>>>
>>>
>>> No complication.
>>>
>>> Configure CONFIG_SMP in the the kernel for multicore.
>>> Everything else is transparent.
>>>
>>> Cores make threads work better, so you'd want to investigate if
>>> USE="threads" is
>>> useful for you.
>>
>>
>>
>>
>> I think he's looking for advice on NUMA, not SMP.
>>
>>
> NUMA is also an option in the kernel. Should also be fully transparent.
> I got one machine with NUMA and only had to set an option for it.
>
> Does anyone know how to check it's working properly?
>
> --
> Joost
> --
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>


Re: [gentoo-user] SSD configuration

2012-11-26 Thread Luis Gustavo Vilela de Oliveira
I think u misunderstand, i belive that what Schuster have is tmpfs always
mounted on /var/tmp/portage, and PORTAGE_TMPDIR will be that.
When he need more than 8Gb in some package PORTAGE_TMPDIR will be
/var/portage/tmp and that on HDD.

What i have is /var/tmp/portage on tmpfs config in fstab with noauto, so
when i want to emerge a lot of things i mount that.


2012/11/26 Jacques Montier 

> 2012/11/26 Alex Schuster 
>
>> Luis Gustavo Vilela de Oliveira writes:
>>
>>  Well, with 8Gb RAM, i recommend use tmpfs on PORTAGE_TMPDIR, just while
>>> u are compiling anything.
>>> Or even with 6Gb too.
>>>
>>
>> I have 16 GB, with 8GB for $PORTAGE_TMPDIR on tmpfs. There were issues
>> with some packages having not enough space, so I have this in
>> /etc/portage/package.env:
>>
>> app-office/libreoffice  notmpfs.conf
>> dev-java/icedteanotmpfs.conf
>> games-fps/alienarenanotmpfs.conf
>> games-fps/worldofpadman notmpfs.conf
>> games-sports/vdrift notmpfs.conf
>> mail-client/thunderbird notmpfs.conf
>> www-client/firefox  notmpfs.conf
>>
>> /etc/portage/env.d/notmpfs.**conf has this entry, changing
>> PORTAGE_TMPDIR to real HDD space:
>>
>> PORTAGE_TMPDIR=/var/portage/**tmp
>>
>> Most of these packages compile with 8 GB of space, but not with parallel
>> merges, like when Thunderbird and Firefox are both being built at the same
>> time.
>>
>> Alex
>>
>>
>
> Ok Alex and Luis,
>
> So i put :
> PORTAGE_TMPDIR="tmpfs" in /etc/make.conf
> PORTAGE_TMPDIR=/var/tmp/portage (on HDD) in /etc/portage/env
> in /etc/portage/package.env :
> app-office/libreoffice notmpfs.conf
> mail-client/thunderbird notmpfs.conf
> www-client/firefox notmpfs.conf
>
> Thanks to both of you :-)
>
> Regards
>
> --
> Jacques
>


Re: [gentoo-user] SSD configuration

2012-11-26 Thread Luis Gustavo Vilela de Oliveira
Nice way to handle that. I only had problems with libreoffice.
But i mount the tmpdir ondemand, and when libreoffice needs update i use
the SSD instead.

I have 16GB too, and in general use 4GB for tmpfs on TMPDIR, i think only
some packages need more then that.


2012/11/26 Alex Schuster 

> Luis Gustavo Vilela de Oliveira writes:
>
>  Well, with 8Gb RAM, i recommend use tmpfs on PORTAGE_TMPDIR, just while
>> u are compiling anything.
>> Or even with 6Gb too.
>>
>
> I have 16 GB, with 8GB for $PORTAGE_TMPDIR on tmpfs. There were issues
> with some packages having not enough space, so I have this in
> /etc/portage/package.env:
>
> app-office/libreoffice  notmpfs.conf
> dev-java/icedteanotmpfs.conf
> games-fps/alienarenanotmpfs.conf
> games-fps/worldofpadman notmpfs.conf
> games-sports/vdrift notmpfs.conf
> mail-client/thunderbird notmpfs.conf
> www-client/firefox  notmpfs.conf
>
> /etc/portage/env.d/notmpfs.**conf has this entry, changing PORTAGE_TMPDIR
> to real HDD space:
>
> PORTAGE_TMPDIR=/var/portage/**tmp
>
> Most of these packages compile with 8 GB of space, but not with parallel
> merges, like when Thunderbird and Firefox are both being built at the same
> time.
>
> Alex
>
>


Re: [gentoo-user] SSD configuration

2012-11-26 Thread Luis Gustavo Vilela de Oliveira
Well, with 8Gb RAM, i recommend use tmpfs on PORTAGE_TMPDIR, just while u
are compiling anything.
Or even with 6Gb too.

I don't worry to much about use the SSD, the only thing that i do is use
distfiles, music/video/photos on HDD to safe space.
And the TMPDIR thing when i'm compiling a lot of things.



2012/11/26 Jacques Montier 

>
>
> 2012/11/26 Daniel Troeder 
>
>> On 25.11.2012 22:43, Jacques Montier wrote:
>> > Each time you sync the portage, you should write on the SSD...
>> > Is it a good thing ?
>> It is the best thing since rsync! Really - it is amazing!
>>
>> And about portage: you write in your portage tree not nearly as often as
>> in /home. SSDs don't die as quickly as you think. The most important
>> thing about wear leveling is to keep 10% free disk space in all
>> partitions and enable discard. You'll be fine then.
>>
>>
>> --
>> PGP key @
>> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x837FB8B5BB9D4887
>> # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887
>>
>> Hi all,
>
> Finally, i put :
>
> /boot  ,  / and /home on SSD,
> /var and /usr/portage on HDD
> Big files on HDD and some symlinks pointing to HDD (.config, .local,
> etc...)
> /tmp and /home//.cache to tmpfs.
>
> Everything works perfectly and now it's fast and silent ;  a real pleasure
> !
>
> Next time i'll have to go to 8Go RAM.
>
> thanks to all of you !
>
> Regards,
>
> --
> Jacques
>
>
>


Re: [gentoo-user] SSD configuration

2012-11-25 Thread Luis Gustavo Vilela de Oliveira
You should look at the BIOS config, if AHCI is enable.


2012/11/25 Jacques Montier 

> Hi all,
>
> I bought a 250Go SSD M4 Crucial , read (of course) Gentoo documentation
> and installed the drive on my desktop pc (Asus MB, Intel ie7 and 6Go RAM).
>
> 1- Everything seems to work perfectly, but i would like to know if my
> configuration is ok or could be optimized.
>
> /tmp and /var/log are on tmpfs
> /boot, / and /var are on SSD (sda),
> swap, /home, /usr/portage, /var/tmp and /var/log on a 1To SATA HDD (sdb)
> You can see my attached file fstab.txt
>
> 2- When booting, BIOS seems to detect the SSD as IDE not SATA ; anything
> wrong ?
>
> Thank you very much for your response,
>
> Cheers,
>
> --
> Jacques
>
>
>
>
>
>


Re: [gentoo-user] Re: chromium print bug?

2012-11-12 Thread Luis Gustavo Vilela de Oliveira
My cups was down when a tested. The problem is exactly what *walt* points
before.


2012/11/12 Grant 

> >> Does anyone else's chromium get a little crazy when they try to bring
> >> up the print dialog without a printer attached?
> >
> >
> > Thanks for the workaround :)  Whenever I try to print to a file from
> chromium, the browser freezes and I need to kill the process to continue.
> >
> > I normally don't start cupsd unless I intend to print to my printer, but
> I tried starting cupsd just now and powering on my printer and that fixed
> the problem with printing to a file.
> >
> > This seems to be a bug in chromium.  Anyone have any experience with
> filing chromium bugs upstream?  Does it ever really get things fixed?  (I
> gave up on firefox bugs long ago.)
>
> Thanks guys, I'll submit the bug.
>
> - Grant
>


Re: [gentoo-user] chromium print bug?

2012-11-11 Thread Luis Gustavo Vilela de Oliveira
Just try, and chromium get crazy too.
I'm using chromium 24.0.1312.5 with KDE by the way.


2012/11/11 Grant 

> Does anyone else's chromium get a little crazy when they try to bring up
> the print dialog without a printer attached?
>
> - Grant
>