Re: [gentoo-user] SSD configuration

2012-11-26 Thread Jacques Montier
2012/11/26 Daniel Troeder dan...@admin-box.com

 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=getsearch=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/user/.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-26 Thread Volker Armin Hemmann
Am Montag, 26. November 2012, 08:45:44 schrieb 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.

you know that flash's survival rate went down with every shrink? That today's 
flash is just crap?

And before you make any assumptions on warranties - read the documentation of 
the vendor. Would be bad if there was some usage clause hidden in the mess

2 year warranty only covers production defects. Not failure because of abuse.

-- 
#163933



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 jmont...@gmail.com



 2012/11/26 Daniel Troeder dan...@admin-box.com

 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=getsearch=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/user/.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-26 Thread 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 Daniel Troeder
On 26.11.2012 15:01, Volker Armin Hemmann wrote:
 2 year warranty only covers production defects. Not failure because
 of abuse.
I cannot imagine it to say do not let your OS swap on this flash disk.
Most people have no clue what swap is, and all those netbooks nowadays
have only a cheap SSD at all... but to be ure, I'll look into the
warrenty later.

Greetings,
Daniel

-- 
PGP key @
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x837FB8B5BB9D4887
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] SSD configuration

2012-11-26 Thread Daniel Troeder
On 26.11.2012 15:35, Alex Schuster wrote:
 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

THANK YOU!!

You solved a problem I have been having for some time.

This should go to the easy Gentoo tricks thread :)

Very happy,
Daniel


-- 
PGP key @
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x837FB8B5BB9D4887
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887



signature.asc
Description: OpenPGP digital signature


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 wo...@wonkology.org

 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 Jacques Montier
2012/11/26 Alex Schuster wo...@wonkology.org

 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 Dale
Alex Schuster wrote:
 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



I used to have trouble with LOo but a few versions ago, that stopped. 
It now compiles with 8Gbs of tmpfs.  You may want to try removing it and
see if you get the same results. I have also never had trouble with
Firefox or icedtea but don't think I have the others installed. 

Just a thought. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




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 jmont...@gmail.com

 2012/11/26 Alex Schuster wo...@wonkology.org

 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



[gentoo-user] SSD configuration

2012-11-25 Thread 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
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't 
# needed; notail increases performance of ReiserFS (at the expense of storage 
# efficiency).  It's safe to drop the noatime options if you want and to 
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# fs  mountpointtype  opts  
dump/pass

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1   /boot   ext2
defaults,noatime,discard1 2
/dev/sda2   /   ext4
defaults,noatime,nodiratime,discard 0 1
/dev/sda3   /varext4
defaults,noatime,nodiratime,discard 0 0
/dev/sdb1   /mnt/donneesntfs-3g 
auto,uid=jacques,gid=users,umask=0022   0 0
/dev/sdb2   noneswapsw  
0 0
/dev/sdb5   /usr/portageext4
defaults,noatime,nodiratime 0 0
/dev/sdb6   /var/tmpext4
defaults,noatime,nodiratime 0 0
/dev/sdb7   /home   ext4
defaults,noatime,nodiratime 0 0
/dev/sdb8   /mnt/disk_virt  ext4
defaults,noatime,nodiratime 0 0

//192.168.0.12/NetHDD   /mnt/Iomega cifs
noauto,guest,soft,users,iocharset=utf8,rw 0 0
//192.168.0.11/keynux   /mnt/Keynux cifs
noauto,guest,soft,users,iocharset=utf8,rw 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
#shm/dev/shmtmpfs   nodev,nosuid,noexec 
0 0

tmpfs   /tmptmpfs   defaults,noatime,mode=1777  0 0
tmpfs   /var/logtmpfs   defaults,noatime,mode=1777  0 0



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 jmont...@gmail.com

 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] SSD configuration

2012-11-25 Thread Florian Philipp
Am 25.11.2012 16:36, schrieb 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.
 
 /dev/sda1 /boot   ext2
 defaults,noatime,discard1 2

You don't need to specify defaults when there is any other option
present. Defaults is just there so that the column is not empty if you
do not specify any option.

 /dev/sda2 /   ext4
 defaults,noatime,nodiratime,discard 0 1

noatime implies nodiratime. Specifying both is redundant.

 /dev/sda3 /varext4
 defaults,noatime,nodiratime,discard 0 0
 /dev/sdb1   /mnt/donneesntfs-3g 
 auto,uid=jacques,gid=users,umask=0022   0 0
 /dev/sdb2 noneswapsw  
 0 0

Swap on SSD would be faster but I guess you want to avoid the additional
writes.

 /dev/sdb5 /usr/portageext4
 defaults,noatime,nodiratime 0 0
 /dev/sdb6   /var/tmp  ext4
 defaults,noatime,nodiratime 0 0
 /dev/sdb7   /home   ext4  
 defaults,noatime,nodiratime 0 0

For home, auto_da_alloc trades a little performance for additional
security against stupid applications that forget to fsync().

 /dev/sdb8   /mnt/disk_virt  ext4  
 defaults,noatime,nodiratime 0 0


Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] SSD configuration

2012-11-25 Thread Volker Armin Hemmann
Am Sonntag, 25. November 2012, 16:36:06 schrieb 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

not good. /tmp good, /var/log really not good. Do I have to explain it or do 
you can think of some reasons for  yourself? Really, /var/log is a lot more 
important than /var/tmp.

You could put /var/tmp/portage onto tmpfs

 /boot, / and /var are on SSD (sda),
 swap, /home, /usr/portage, /var/tmp and /var/log on a 1To SATA HDD (sdb)

ok, I would put /var on the hdd and /home on the ssd with all bigger data on 
the hdd (like pics, ogg, movies)

 2- When booting, BIOS seems to detect the SSD as IDE not SATA ; anything
 wrong ?
 

yes

-- 
#163933



Re: [gentoo-user] SSD configuration

2012-11-25 Thread Jacques Montier
Thank you Luis,

In BIOS, i switched to AHCI instead of IDE Mode, but the system does not
boot.
I get kernel panic (No filesystem could mount root...)

My kernel configuration :
CONFIG_SATA_AHCI=y

--
Jacques


2012/11/25 Luis Gustavo Vilela de Oliveira luisgustavo.vil...@gmail.com

 You should look at the BIOS config, if AHCI is enable.


 2012/11/25 Jacques Montier jmont...@gmail.com

 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] SSD configuration

2012-11-25 Thread Jacques Montier
So i just kept noatime and discard options (for SSD).

Thank you Florian,


--
Jacques


2012/11/25 Florian Philipp li...@binarywings.net

 Am 25.11.2012 16:36, schrieb 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.
 
  /dev/sda1 /boot   ext2
  defaults,noatime,discard1 2

 You don't need to specify defaults when there is any other option
 present. Defaults is just there so that the column is not empty if you
 do not specify any option.

  /dev/sda2 /   ext4
  defaults,noatime,nodiratime,discard 0 1

 noatime implies nodiratime. Specifying both is redundant.

  /dev/sda3 /varext4
  defaults,noatime,nodiratime,discard 0 0
  /dev/sdb1   /mnt/donneesntfs-3g
 auto,uid=jacques,gid=users,umask=0022   0 0
  /dev/sdb2 noneswapsw
  0 0

 Swap on SSD would be faster but I guess you want to avoid the additional
 writes.

  /dev/sdb5 /usr/portageext4
  defaults,noatime,nodiratime 0 0
  /dev/sdb6   /var/tmp  ext4
  defaults,noatime,nodiratime 0 0
  /dev/sdb7   /home   ext4
  defaults,noatime,nodiratime 0 0

 For home, auto_da_alloc trades a little performance for additional
 security against stupid applications that forget to fsync().

  /dev/sdb8   /mnt/disk_virt  ext4
  defaults,noatime,nodiratime 0 0


 Regards,
 Florian Philipp




Re: [gentoo-user] SSD configuration

2012-11-25 Thread Florian Philipp
Am 25.11.2012 17:34, schrieb Jacques Montier:
 2012/11/25 Luis Gustavo Vilela de Oliveira luisgustavo.vil...@gmail.com
 mailto:luisgustavo.vil...@gmail.com
 2012/11/25 Jacques Montier jmont...@gmail.com
 mailto:jmont...@gmail.com
[...]
 2- When booting, BIOS seems to detect the SSD as IDE not SATA ;
 anything wrong ?
 
 
 You should look at the BIOS config, if AHCI is enable.
 
 
 Thank you Luis,
 
 In BIOS, i switched to AHCI instead of IDE Mode, but the system does not
 boot.
 I get kernel panic (No filesystem could mount root...)
 
 My kernel configuration :
 CONFIG_SATA_AHCI=y
 

It is possible that the change switched the device naming, making sda
sdb and vice versa. Try to boot from a live-CD to verify that. You can
also do this to check if you missed a module.

BTW: Please don't top-post, both Luis and Jaques. Put your answers below
the quoted messages (like I did).

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] SSD configuration

2012-11-25 Thread Alex Schuster

Jacques Montier writes:


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


Like Volker said. Yikes! Or is that just a typo and you meant /var/tmp? 
Still, I would prefer to have that on the HDD.



/boot, / and /var are on SSD (sda),
swap, /home, /usr/portage, /var/tmp and /var/log on a 1To SATA HDD (sdb)


I would put the portage tree on the SDD.

Wonko



Re: [gentoo-user] SSD configuration

2012-11-25 Thread Jacques Montier
2012/11/25 Florian Philipp li...@binarywings.net

 Am 25.11.2012 17:34, schrieb Jacques Montier:
  2012/11/25 Luis Gustavo Vilela de Oliveira luisgustavo.vil...@gmail.com
  mailto:luisgustavo.vil...@gmail.com
  2012/11/25 Jacques Montier jmont...@gmail.com
  mailto:jmont...@gmail.com
 [...]
  2- When booting, BIOS seems to detect the SSD as IDE not SATA ;
  anything wrong ?
 
 
  You should look at the BIOS config, if AHCI is enable.
 
 
  Thank you Luis,
 
  In BIOS, i switched to AHCI instead of IDE Mode, but the system does not
  boot.
  I get kernel panic (No filesystem could mount root...)
 
  My kernel configuration :
  CONFIG_SATA_AHCI=y
 

 It is possible that the change switched the device naming, making sda
 sdb and vice versa. Try to boot from a live-CD to verify that. You can
 also do this to check if you missed a module.

 BTW: Please don't top-post, both Luis and Jaques. Put your answers below
 the quoted messages (like I did).

 Regards,
 Florian Philipp



Sorry Florian for the top-post.

Well, you were right !
The live-cd SysRescueCd showed all the devices switched ; sdb instead of
sda.
Renaming all the devices and system was booting again.
Nevetheless, i felt that with AHCI BIOS Mode, the SSD was slightly less
reactive than the IDE Mode.
Do you think that could be possible ?
May be, i am completely wrong...

Best regards,

--
Jacques


Re: [gentoo-user] SSD configuration

2012-11-25 Thread Jacques Montier
2012/11/25 Alex Schuster wo...@wonkology.org

 Jacques Montier writes:

  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


 Like Volker said. Yikes! Or is that just a typo and you meant /var/tmp?
 Still, I would prefer to have that on the HDD.


  /boot, / and /var are on SSD (sda),
 swap, /home, /usr/portage, /var/tmp and /var/log on a 1To SATA HDD (sdb)


 I would put the portage tree on the SDD.

 Wonko



Alex,

Each time you sync the portage, you should write on the SSD...
Is it a good thing ?
As Volker said, i put  /var on the HDD, and it works fine.

Regards,

--
Jacques


Re: [gentoo-user] SSD configuration

2012-11-25 Thread microcai
2012/11/26 Jacques Montier jmont...@gmail.com:


 2012/11/25 Alex Schuster wo...@wonkology.org

 Jacques Montier writes:

 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


 Like Volker said. Yikes! Or is that just a typo and you meant /var/tmp?
 Still, I would prefer to have that on the HDD.


 /boot, / and /var are on SSD (sda),
 swap, /home, /usr/portage, /var/tmp and /var/log on a 1To SATA HDD (sdb)


 I would put the portage tree on the SDD.

 Wonko



 Alex,

 Each time you sync the portage, you should write on the SSD...
 Is it a good thing ?

yes, then you can ask a new one within the garentee time.

 As Volker said, i put  /var on the HDD, and it works fine.

 Regards,

 --
 Jacques






Re: [gentoo-user] SSD configuration

2012-11-25 Thread 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=getsearch=0x837FB8B5BB9D4887
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887



signature.asc
Description: OpenPGP digital signature