* [gentoo-user] Gentoo on SSD
@ 2010-02-16 9:28 alain.didierjean
2010-02-16 10:42 ` Norman Rieß
` (3 more replies)
0 siblings, 4 replies; 24+ messages in thread
From: alain.didierjean @ 2010-02-16 9:28 UTC (permalink / raw
To: gentoo-user
I'm thinking of re-installing Gentoo on an Intel 40 Megs SSD -- excluding the
most often writen dirs like /var, /tmp, /home --. What do you think ? I'll be
glad to hear about previous experiences. What about swap ? Is it safe to have it
on the SSD ?
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Gentoo on SSD
2010-02-16 9:28 [gentoo-user] Gentoo on SSD alain.didierjean
@ 2010-02-16 10:42 ` Norman Rieß
2010-02-16 20:31 ` Stefan G. Weichinger
2010-02-16 14:25 ` Volker Armin Hemmann
` (2 subsequent siblings)
3 siblings, 1 reply; 24+ messages in thread
From: Norman Rieß @ 2010-02-16 10:42 UTC (permalink / raw
To: gentoo-user
Am 02/16/10 10:28, schrieb alain.didierjean@free.fr:
> I'm thinking of re-installing Gentoo on an Intel 40 Megs SSD -- excluding the
> most often writen dirs like /var, /tmp, /home --. What do you think ? I'll be
> glad to hear about previous experiences. What about swap ? Is it safe to have it
> on the SSD ?
>
>
Hi,
i have a Gentoo System on SSD running for a while now. No problems.
Regards,
Norman
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Gentoo on SSD
2010-02-16 9:28 [gentoo-user] Gentoo on SSD alain.didierjean
2010-02-16 10:42 ` Norman Rieß
@ 2010-02-16 14:25 ` Volker Armin Hemmann
2010-02-16 18:17 ` [gentoo-user] " James
2010-02-16 21:04 ` [gentoo-user] " Grant
3 siblings, 0 replies; 24+ messages in thread
From: Volker Armin Hemmann @ 2010-02-16 14:25 UTC (permalink / raw
To: gentoo-user
On Dienstag 16 Februar 2010, alain.didierjean@free.fr wrote:
> I'm thinking of re-installing Gentoo on an Intel 40 Megs SSD -- excluding
> the most often writen dirs like /var, /tmp, /home --. What do you think ?
> I'll be glad to hear about previous experiences. What about swap ? Is it
> safe to have it on the SSD ?
I have / on ssd, but /tmp on tmpfs, /var on harddisk and swap on harddisk.
I don't want to wear it down ... and 40gb is not that much.
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-user] Re: Gentoo on SSD
2010-02-16 9:28 [gentoo-user] Gentoo on SSD alain.didierjean
2010-02-16 10:42 ` Norman Rieß
2010-02-16 14:25 ` Volker Armin Hemmann
@ 2010-02-16 18:17 ` James
2010-02-16 21:04 ` [gentoo-user] " Grant
3 siblings, 0 replies; 24+ messages in thread
From: James @ 2010-02-16 18:17 UTC (permalink / raw
To: gentoo-user
<alain.didierjean <at> free.fr> writes:
> I'm thinking of re-installing Gentoo on an Intel 40 Megs
SSD -- excluding the
> most often writen dirs like /var, /tmp, /home --. What do
you think ? I'll be
> glad to hear about previous experiences. What about swap ?
Is it safe to have it
> on the SSD ?
I run minimal servers on 4 Gig Compact Flash-2-ide. Similar but not as
robust as SSD. You should not have any problems, if you PLAN, THINK through
your intended application(s) and ASK questions on this list...... methinks.
caveat emptor,
James
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Gentoo on SSD
2010-02-16 10:42 ` Norman Rieß
@ 2010-02-16 20:31 ` Stefan G. Weichinger
0 siblings, 0 replies; 24+ messages in thread
From: Stefan G. Weichinger @ 2010-02-16 20:31 UTC (permalink / raw
To: gentoo-user
Am 16.02.2010 11:42, schrieb Norman Rieß:
> Am 02/16/10 10:28, schrieb alain.didierjean@free.fr:
>> I'm thinking of re-installing Gentoo on an Intel 40 Megs SSD --
>> excluding the
>> most often writen dirs like /var, /tmp, /home --. What do you think ?
>> I'll be
>> glad to hear about previous experiences. What about swap ? Is it safe
>> to have it
>> on the SSD ?
>>
>>
> Hi,
>
> i have a Gentoo System on SSD running for a while now. No problems.
Hmm, I see massive crashes with my Intel Postville G2 80GB, in the last
2 days ... maybe I have received a bad one ... shouldn't be the same for
all of them.
Gentoo didn't detect it anymore ... etc.
I still try to decide how to proceed. Maybe completely reset it and
start from scratch.
Just my current experience with this specific device ...
Stefan
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Gentoo on SSD
2010-02-16 9:28 [gentoo-user] Gentoo on SSD alain.didierjean
` (2 preceding siblings ...)
2010-02-16 18:17 ` [gentoo-user] " James
@ 2010-02-16 21:04 ` Grant
2010-02-16 21:09 ` Ward Poelmans
3 siblings, 1 reply; 24+ messages in thread
From: Grant @ 2010-02-16 21:04 UTC (permalink / raw
To: gentoo-user
> I'm thinking of re-installing Gentoo on an Intel 40 Megs SSD -- excluding the
> most often writen dirs like /var, /tmp, /home --. What do you think ? I'll be
> glad to hear about previous experiences. What about swap ? Is it safe to have it
> on the SSD ?
Why exclude the most written dirs? I thought SSDs were projected to
last longer than HDs? Also, from what I've read, SLC should last much
longer than MLC.
- Grant
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Gentoo on SSD
2010-02-16 21:04 ` [gentoo-user] " Grant
@ 2010-02-16 21:09 ` Ward Poelmans
2010-02-16 21:27 ` Grant
0 siblings, 1 reply; 24+ messages in thread
From: Ward Poelmans @ 2010-02-16 21:09 UTC (permalink / raw
To: gentoo-user
On Tue, Feb 16, 2010 at 22:04, Grant <emailgrant@gmail.com> wrote:
> I thought SSDs were projected to
> last longer than HDs? Also, from what I've read, SLC should last much
> longer than MLC.
It's the other way round: HD's last longer dan SSD's. [1]
[1] http://en.wikipedia.org/wiki/Solid-state_drive#Disadvantages
Regards,
Ward
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Gentoo on SSD
2010-02-16 21:09 ` Ward Poelmans
@ 2010-02-16 21:27 ` Grant
2010-02-16 21:38 ` Volker Armin Hemmann
` (3 more replies)
0 siblings, 4 replies; 24+ messages in thread
From: Grant @ 2010-02-16 21:27 UTC (permalink / raw
To: gentoo-user
>> I thought SSDs were projected to
>> last longer than HDs? Also, from what I've read, SLC should last much
>> longer than MLC.
>
> It's the other way round: HD's last longer dan SSD's. [1]
>
> [1] http://en.wikipedia.org/wiki/Solid-state_drive#Disadvantages
Thanks for the link. I did some Googleing too and I'm really
surprised at what I found. It sounds like SSDs don't have the
projected longevity they did when I researched this a year or so ago.
I'm troubled by the ever-lurking possibility of an HD failure and I
thought SSDs would be my way out. Is an HD the best choice for
reliability?
- Grant
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Gentoo on SSD
2010-02-16 21:27 ` Grant
@ 2010-02-16 21:38 ` Volker Armin Hemmann
2010-02-16 21:56 ` Stefan G. Weichinger
` (2 subsequent siblings)
3 siblings, 0 replies; 24+ messages in thread
From: Volker Armin Hemmann @ 2010-02-16 21:38 UTC (permalink / raw
To: gentoo-user
On Dienstag 16 Februar 2010, Grant wrote:
> >> I thought SSDs were projected to
> >> last longer than HDs? Also, from what I've read, SLC should last much
> >> longer than MLC.
> >
> > It's the other way round: HD's last longer dan SSD's. [1]
> >
> > [1] http://en.wikipedia.org/wiki/Solid-state_drive#Disadvantages
>
> Thanks for the link. I did some Googleing too and I'm really
> surprised at what I found. It sounds like SSDs don't have the
> projected longevity they did when I researched this a year or so ago.
> I'm troubled by the ever-lurking possibility of an HD failure and I
> thought SSDs would be my way out. Is an HD the best choice for
> reliability?
>
> - Grant
depends. Intel for example slows down the ssd if you write too much to prevent
premature failure.
HDD are prone to mechanical failure. SSD not. If you only do moderate writing
SSD are much more reliable. If you do a lot of writing - douzends of gigabyte
a day with a lot of overwriting, a HDD might be the better choice.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Gentoo on SSD
2010-02-16 21:27 ` Grant
2010-02-16 21:38 ` Volker Armin Hemmann
@ 2010-02-16 21:56 ` Stefan G. Weichinger
2010-02-17 19:10 ` [gentoo-user] " walt
2010-02-16 22:29 ` [gentoo-user] " Neil Bothwick
2010-02-22 7:54 ` daid kahl
3 siblings, 1 reply; 24+ messages in thread
From: Stefan G. Weichinger @ 2010-02-16 21:56 UTC (permalink / raw
To: gentoo-user
Am 16.02.2010 22:27, schrieb Grant:
> It sounds like SSDs don't have the
> projected longevity they did when I researched this a year or so ago.
> I'm troubled by the ever-lurking possibility of an HD failure and I
> thought SSDs would be my way out. Is an HD the best choice for
> reliability?
I still don't know.
I had the impression that having my home-dir on the ssd lead to
filesystem-problems ... maybe all those tiny writes ... I don't know.
Could be fs-related as well ...
Moved my home back to hdd as recommended by Volker here a few months
ago. Only having my root on the ssd worked OK for quite some time
(sidenote: how to do that on my thinkpad? Having it hdd-free is one main
reason to move to ssd ...)
As mentioned I faced some hefty crashes in the last days ...
unfortunately I wasn't able to record the logs as the drive simply
disappeared. I thought I had the latest "dmesg > myfile" on hdd but it
was empty after a reboot ....
Currently I am back on my raid1-hdd-root ... slower but OK ;-)
The crashes happened with tuxonice-sources-2.6.32 -- dunno, if the
latest ebuild brings some changes helping in this context.
Maybe it's ext4-related as well ... you know, many moving parts in a
modern system ....
Stefan
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Gentoo on SSD
2010-02-16 21:27 ` Grant
2010-02-16 21:38 ` Volker Armin Hemmann
2010-02-16 21:56 ` Stefan G. Weichinger
@ 2010-02-16 22:29 ` Neil Bothwick
2010-02-22 7:54 ` daid kahl
3 siblings, 0 replies; 24+ messages in thread
From: Neil Bothwick @ 2010-02-16 22:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
On Tue, 16 Feb 2010 13:27:22 -0800, Grant wrote:
> I'm troubled by the ever-lurking possibility of an HD failure and I
> thought SSDs would be my way out. Is an HD the best choice for
> reliability?
A single drive, be it HD or SSD, is always at risk of failure. If this is
a significant concern, you should be using some form of RAID, along with
regular, automated backups of course.
--
Neil Bothwick
There is no such thing as an atheist in a foxhole.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-user] Re: Gentoo on SSD
2010-02-16 21:56 ` Stefan G. Weichinger
@ 2010-02-17 19:10 ` walt
2010-02-17 21:16 ` Stefan G. Weichinger
0 siblings, 1 reply; 24+ messages in thread
From: walt @ 2010-02-17 19:10 UTC (permalink / raw
To: gentoo-user
On 02/16/2010 01:56 PM, Stefan G. Weichinger wrote:
> Maybe it's ext4-related as well ... you know, many moving parts in a
> modern system ....
Are you using ext4 on the hard drives also? For how long?
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Re: Gentoo on SSD
2010-02-17 19:10 ` [gentoo-user] " walt
@ 2010-02-17 21:16 ` Stefan G. Weichinger
2010-02-17 22:29 ` Alex Schuster
0 siblings, 1 reply; 24+ messages in thread
From: Stefan G. Weichinger @ 2010-02-17 21:16 UTC (permalink / raw
To: gentoo-user
Am 17.02.2010 20:10, schrieb walt:
> On 02/16/2010 01:56 PM, Stefan G. Weichinger wrote:
>
>> Maybe it's ext4-related as well ... you know, many moving parts in a
>> modern system ....
>
> Are you using ext4 on the hard drives also? For how long?
phew, for quite some time ... I'd have to think a while ...
AFAIK there is no way to read that info from the fs
"formatted on 2009-06-....." or something ;-)
It never behaved like that on the hdd-based raid, no.
No such crashes at all.
S
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Re: Gentoo on SSD
2010-02-17 21:16 ` Stefan G. Weichinger
@ 2010-02-17 22:29 ` Alex Schuster
2010-02-18 7:26 ` Stefan G. Weichinger
0 siblings, 1 reply; 24+ messages in thread
From: Alex Schuster @ 2010-02-17 22:29 UTC (permalink / raw
To: gentoo-user
Stefan G. Weichinger writes:
> Am 17.02.2010 20:10, schrieb walt:
> > Are you using ext4 on the hard drives also? For how long?
>
> phew, for quite some time ... I'd have to think a while ...
> AFAIK there is no way to read that info from the fs
>
> "formatted on 2009-06-....." or something ;-)
dumpe2fs /dev/root | grep "Filesystem created:"
Wonko
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Re: Gentoo on SSD
2010-02-17 22:29 ` Alex Schuster
@ 2010-02-18 7:26 ` Stefan G. Weichinger
0 siblings, 0 replies; 24+ messages in thread
From: Stefan G. Weichinger @ 2010-02-18 7:26 UTC (permalink / raw
To: gentoo-user
Am 17.02.2010 23:29, schrieb Alex Schuster:
>> AFAIK there is no way to read that info from the fs
>>
>> "formatted on 2009-06-....." or something ;-)
>
> dumpe2fs /dev/root | grep "Filesystem created:"
I am impressed ;-)
On the ssd:
Filesystem created: Mon Jan 4 19:56:09 2010
On the hdd-raid1:
Filesystem created: Tue Aug 4 00:01:32 2009
Any thoughts that the later fs might be buggy because of some bugs in
ext4 or related tools at that time?
S
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Gentoo on SSD
2010-02-16 21:27 ` Grant
` (2 preceding siblings ...)
2010-02-16 22:29 ` [gentoo-user] " Neil Bothwick
@ 2010-02-22 7:54 ` daid kahl
2010-02-22 10:57 ` Stroller
3 siblings, 1 reply; 24+ messages in thread
From: daid kahl @ 2010-02-22 7:54 UTC (permalink / raw
To: gentoo-user
On 17 February 2010 06:27, Grant <emailgrant@gmail.com> wrote:
>>> I thought SSDs were projected to
>>> last longer than HDs? Also, from what I've read, SLC should last much
>>> longer than MLC.
>>
>> It's the other way round: HD's last longer dan SSD's. [1]
>>
>> [1] http://en.wikipedia.org/wiki/Solid-state_drive#Disadvantages
>
> Thanks for the link. I did some Googleing too and I'm really
> surprised at what I found. It sounds like SSDs don't have the
> projected longevity they did when I researched this a year or so ago.
> I'm troubled by the ever-lurking possibility of an HD failure and I
> thought SSDs would be my way out. Is an HD the best choice for
> reliability?
>
> - Grant
>
>
As far as I know, solid state devices are much more susceptible to
solar flare damage, particularly if you are outside. This is not
exactly common, but hey. Of course I also have a theory that not an
insignificant number of computer problems are caused by bit-flips from
cosmic ray induced muon showers, but I digress...
~daid
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Gentoo on SSD
2010-02-22 7:54 ` daid kahl
@ 2010-02-22 10:57 ` Stroller
2010-02-22 12:42 ` Alan McKinnon
2010-02-22 13:35 ` Neil Bothwick
0 siblings, 2 replies; 24+ messages in thread
From: Stroller @ 2010-02-22 10:57 UTC (permalink / raw
To: gentoo-user
On 22 Feb 2010, at 07:54, daid kahl wrote:
> ...
> As far as I know, solid state devices are much more susceptible to
> solar flare damage, particularly if you are outside. This is not
> exactly common, but hey. Of course I also have a theory that not an
> insignificant number of computer problems are caused by bit-flips from
> cosmic ray induced muon showers, but I digress...
I have recently decided to blame solar flares & cosmic ray induced
muon showers whenever one of my customers asks why their PC is broken.
Stroller.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Gentoo on SSD
2010-02-22 10:57 ` Stroller
@ 2010-02-22 12:42 ` Alan McKinnon
2010-02-22 13:35 ` Neil Bothwick
1 sibling, 0 replies; 24+ messages in thread
From: Alan McKinnon @ 2010-02-22 12:42 UTC (permalink / raw
To: gentoo-user
On Monday 22 February 2010 12:57:27 Stroller wrote:
> On 22 Feb 2010, at 07:54, daid kahl wrote:
> > ...
> > As far as I know, solid state devices are much more susceptible to
> > solar flare damage, particularly if you are outside. This is not
> > exactly common, but hey. Of course I also have a theory that not an
> > insignificant number of computer problems are caused by bit-flips from
> > cosmic ray induced muon showers, but I digress...
>
> I have recently decided to blame solar flares & cosmic ray induced
> muon showers whenever one of my customers asks why their PC is broken.
Flavour of the moment here where I am:
High energy gamma rays from quasars at the edge of the visible known universe
produced when the universe was a mere 700 million years old.
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] Gentoo on SSD
2010-02-22 10:57 ` Stroller
2010-02-22 12:42 ` Alan McKinnon
@ 2010-02-22 13:35 ` Neil Bothwick
1 sibling, 0 replies; 24+ messages in thread
From: Neil Bothwick @ 2010-02-22 13:35 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 601 bytes --]
On Mon, 22 Feb 2010 10:57:27 +0000, Stroller wrote:
> I have recently decided to blame solar flares & cosmic ray induced
> muon showers whenever one of my customers asks why their PC is broken.
We are coming out of a long period of minimal solar activity with
activity expected to hit a high peak in the next couple of years. It has
already been predicted that this will affect GPS accuracy.
So not only will you have a reason for the failure, you'll also have an
excuse for turning up late to fix it :)
--
Neil Bothwick
Hard work has a future payoff. Laziness pays off now.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* [gentoo-user] gentoo on SSD
@ 2017-09-23 19:04 Stefano Crocco
2017-09-23 19:27 ` Canek Peláez Valdés
0 siblings, 1 reply; 24+ messages in thread
From: Stefano Crocco @ 2017-09-23 19:04 UTC (permalink / raw
To: gentoo-user
Hello to everyone,
I just bought a 250 GB SSD and I'm planning to install Gentoo on it. I've read
the Gentoo Wiki page on this and searched Google for hints on this, but since
I found out that much information was either contradictory or outdated, I'm
asking anyone with first-hand experience on this for advice.
My system is as follows:
- 250GB SSD
- 1TB HDD
- 16GB RAM
I'm planning to partition the SSD this way:
- 100 GB -> / (on my current system, / is about 70GB)
- 100 GB -> /home
- 16 GB -> swap (mainly for hibernation)
- 200 MB -> /boot
/var/tmp/portage should go into a tmpfs (12GB).
I've read that someone suggested putting also /tmp on a tmpfs. Right now, on
my system /tmp is less than 100 MB, so I believe this should cause no
problems, but is it necessary?
Large files, such as Steam games and maybe distfiles should instead go on the
1TB HDD.
I have some doubts about the swap partition. With 16 GB of RAM I shouldn't
usually need swap except for hibernating (that's the reason I'm putting it on
the SSD); however, I fear that compiling some large packages could fill all
that space. Would it be bad to have the swap partition on the SSD used this
way every now and then? Should I create another swap partition on the HDD and
give it higher priority?
What do you think? Do you have any advice on how to best set up such a system?
Thanks in advance
Stefano
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] gentoo on SSD
2017-09-23 19:04 [gentoo-user] gentoo " Stefano Crocco
@ 2017-09-23 19:27 ` Canek Peláez Valdés
2017-09-23 19:36 ` Stefano Crocco
0 siblings, 1 reply; 24+ messages in thread
From: Canek Peláez Valdés @ 2017-09-23 19:27 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2203 bytes --]
On Sat, Sep 23, 2017 at 2:04 PM, Stefano Crocco <posta@stefanocrocco.it>
wrote:
>
> Hello to everyone,
> I just bought a 250 GB SSD and I'm planning to install Gentoo on it. I've
read
> the Gentoo Wiki page on this and searched Google for hints on this, but
since
> I found out that much information was either contradictory or outdated,
I'm
> asking anyone with first-hand experience on this for advice.
>
> My system is as follows:
>
> - 250GB SSD
> - 1TB HDD
> - 16GB RAM
>
> I'm planning to partition the SSD this way:
>
> - 100 GB -> / (on my current system, / is about 70GB)
> - 100 GB -> /home
> - 16 GB -> swap (mainly for hibernation)
> - 200 MB -> /boot
>
> /var/tmp/portage should go into a tmpfs (12GB).
>
> I've read that someone suggested putting also /tmp on a tmpfs. Right now,
on
> my system /tmp is less than 100 MB, so I believe this should cause no
> problems, but is it necessary?
>
> Large files, such as Steam games and maybe distfiles should instead go on
the
> 1TB HDD.
>
> I have some doubts about the swap partition. With 16 GB of RAM I shouldn't
> usually need swap except for hibernating (that's the reason I'm putting
it on
> the SSD); however, I fear that compiling some large packages could fill
all
> that space. Would it be bad to have the swap partition on the SSD used
this
> way every now and then? Should I create another swap partition on the HDD
and
> give it higher priority?
>
> What do you think? Do you have any advice on how to best set up such a
system?
I use a similar setup. Several top-level directories in my $HOME are bind
mounts to a large mechanical drive. My swap (16GB) is on that drive also.
I've found that 100MB is enough for the EFI /boot partition (but I clean
old kernels immediately after updating).
For the /tmp I use tmpfs (I use the size=100% option), and then in
/etc/portage/make.conf I have:
PORTAGE_TMPDIR="/tmp"
This way I fully use /tmp when compiling large packages, and don't wear
down my SSD.
Regards.
--
Dr. Canek Peláez Valdés
Profesor de Carrera Asociado C
Departamento de Matemáticas
Facultad de Ciencias
Universidad Nacional Autónoma de México
[-- Attachment #2: Type: text/html, Size: 2598 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] gentoo on SSD
2017-09-23 19:27 ` Canek Peláez Valdés
@ 2017-09-23 19:36 ` Stefano Crocco
2017-09-27 15:04 ` Stefan G. Weichinger
0 siblings, 1 reply; 24+ messages in thread
From: Stefano Crocco @ 2017-09-23 19:36 UTC (permalink / raw
To: gentoo-user
On Saturday, 23 September 2017 21:27:45 CEST Canek Peláez Valdés wrote:
> On Sat, Sep 23, 2017 at 2:04 PM, Stefano Crocco <posta@stefanocrocco.it>
>
> wrote:
> > Hello to everyone,
> > I just bought a 250 GB SSD and I'm planning to install Gentoo on it. I've
>
> read
>
> > the Gentoo Wiki page on this and searched Google for hints on this, but
>
> since
>
> > I found out that much information was either contradictory or outdated,
>
> I'm
>
> > asking anyone with first-hand experience on this for advice.
> >
> > My system is as follows:
> >
> > - 250GB SSD
> > - 1TB HDD
> > - 16GB RAM
> >
> > I'm planning to partition the SSD this way:
> >
> > - 100 GB -> / (on my current system, / is about 70GB)
> > - 100 GB -> /home
> > - 16 GB -> swap (mainly for hibernation)
> > - 200 MB -> /boot
> >
> > /var/tmp/portage should go into a tmpfs (12GB).
> >
> > I've read that someone suggested putting also /tmp on a tmpfs. Right now,
>
> on
>
> > my system /tmp is less than 100 MB, so I believe this should cause no
> > problems, but is it necessary?
> >
> > Large files, such as Steam games and maybe distfiles should instead go on
>
> the
>
> > 1TB HDD.
> >
> > I have some doubts about the swap partition. With 16 GB of RAM I shouldn't
> > usually need swap except for hibernating (that's the reason I'm putting
>
> it on
>
> > the SSD); however, I fear that compiling some large packages could fill
>
> all
>
> > that space. Would it be bad to have the swap partition on the SSD used
>
> this
>
> > way every now and then? Should I create another swap partition on the HDD
>
> and
>
> > give it higher priority?
> >
> > What do you think? Do you have any advice on how to best set up such a
>
> system?
>
> I use a similar setup. Several top-level directories in my $HOME are bind
> mounts to a large mechanical drive. My swap (16GB) is on that drive also.
> I've found that 100MB is enough for the EFI /boot partition (but I clean
> old kernels immediately after updating).
>
> For the /tmp I use tmpfs (I use the size=100% option), and then in
> /etc/portage/make.conf I have:
>
> PORTAGE_TMPDIR="/tmp"
>
> This way I fully use /tmp when compiling large packages, and don't wear
> down my SSD.
>
> Regards.
> --
> Dr. Canek Peláez Valdés
> Profesor de Carrera Asociado C
> Departamento de Matemáticas
> Facultad de Ciencias
> Universidad Nacional Autónoma de México
Thanks for the information
Stefano
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] gentoo on SSD
2017-09-23 19:36 ` Stefano Crocco
@ 2017-09-27 15:04 ` Stefan G. Weichinger
2017-09-27 17:39 ` Stefano Crocco
0 siblings, 1 reply; 24+ messages in thread
From: Stefan G. Weichinger @ 2017-09-27 15:04 UTC (permalink / raw
To: gentoo-user
aside from that you might want to specify a different IO scheduler for
the SSD, I do that via udev rules like:
# 60-sched.rules
# set deadline scheduler for non-rotating disks
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0",
ATTR{queue/scheduler}="deadline"
# set cfq scheduler for rotating disks
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1",
ATTR{queue/scheduler}="cfq"
-
and I have a systemd-timer for running fstrim now and then
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [gentoo-user] gentoo on SSD
2017-09-27 15:04 ` Stefan G. Weichinger
@ 2017-09-27 17:39 ` Stefano Crocco
0 siblings, 0 replies; 24+ messages in thread
From: Stefano Crocco @ 2017-09-27 17:39 UTC (permalink / raw
To: gentoo-user
On Wednesday, 27 September 2017 17:04:53 CEST Stefan G. Weichinger wrote:
> aside from that you might want to specify a different IO scheduler for
> the SSD, I do that via udev rules like:
>
> # 60-sched.rules
> # set deadline scheduler for non-rotating disks
> ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0",
> ATTR{queue/scheduler}="deadline"
>
> # set cfq scheduler for rotating disks
> ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1",
> ATTR{queue/scheduler}="cfq"
>
> -
>
> and I have a systemd-timer for running fstrim now and then
Thanks for the hint.
Stefano
^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2017-09-27 17:37 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-16 9:28 [gentoo-user] Gentoo on SSD alain.didierjean
2010-02-16 10:42 ` Norman Rieß
2010-02-16 20:31 ` Stefan G. Weichinger
2010-02-16 14:25 ` Volker Armin Hemmann
2010-02-16 18:17 ` [gentoo-user] " James
2010-02-16 21:04 ` [gentoo-user] " Grant
2010-02-16 21:09 ` Ward Poelmans
2010-02-16 21:27 ` Grant
2010-02-16 21:38 ` Volker Armin Hemmann
2010-02-16 21:56 ` Stefan G. Weichinger
2010-02-17 19:10 ` [gentoo-user] " walt
2010-02-17 21:16 ` Stefan G. Weichinger
2010-02-17 22:29 ` Alex Schuster
2010-02-18 7:26 ` Stefan G. Weichinger
2010-02-16 22:29 ` [gentoo-user] " Neil Bothwick
2010-02-22 7:54 ` daid kahl
2010-02-22 10:57 ` Stroller
2010-02-22 12:42 ` Alan McKinnon
2010-02-22 13:35 ` Neil Bothwick
-- strict thread matches above, loose matches on Subject: below --
2017-09-23 19:04 [gentoo-user] gentoo " Stefano Crocco
2017-09-23 19:27 ` Canek Peláez Valdés
2017-09-23 19:36 ` Stefano Crocco
2017-09-27 15:04 ` Stefan G. Weichinger
2017-09-27 17:39 ` Stefano Crocco
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox