Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Dale
Frank Steinmetzger wrote: > Am Tue, Apr 18, 2023 at 10:05:27AM -0500 schrieb Dale: > >> Given how I plan to use this drive, that should last a long time.  I'm >> just putting the OS stuff on the drive and I compile on a spinning rust >> drive and use -k to install the built packages on the live

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Dale
Mark Knecht wrote: > > > On Tue, Apr 18, 2023 at 2:15 PM Dale > wrote: > > > > Mark Knecht wrote: > > > > > > > > On Tue, Apr 18, 2023 at 1:02 PM Dale > wrote: > > > > > > > > Someone mentioned 16K block size. > > > > > > I mentioned it

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Dale
Wols Lists wrote: > On 18/04/2023 23:13, Frank Steinmetzger wrote: >>> /var/tmp/portage on tmpfs. And on every disk I allocate a swap >>> partition >>> equal to twice the mobo's max memory. Three drives times 64GB times >>> two is a >>> helluva lot of swap. > >> Uhm … why? The moniker of swap =

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Wols Lists
On 18/04/2023 23:13, Frank Steinmetzger wrote: /var/tmp/portage on tmpfs. And on every disk I allocate a swap partition equal to twice the mobo's max memory. Three drives times 64GB times two is a helluva lot of swap. Uhm … why? The moniker of swap = 2×RAM comes from times when RAM was

[gentoo-user] How to install Ruby bindings in an ebuild

2023-04-18 Thread Ralph Seichter
I need to install Ruby bindings (something.so) during an ebuild, specifically into the /usr/lib64/ruby/vendor_ruby/3.0.0/x86_64-linux directory. I scanned existing ebuilds for an example, but have not yet found one. The developer manual [1] mentions newlib.so, but that function appears to inject

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Frank Steinmetzger
Am Wed, Apr 19, 2023 at 12:18:14AM +0200 schrieb Frank Steinmetzger: > If you use ext4, run `dumpe2fs -h /dev/your-root-partition | grep Lifetime` > to see how much data has been written to that partition since you formatted > it. Just to get an idea of what you are looking at on your setup.

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Frank Steinmetzger
Am Tue, Apr 18, 2023 at 10:05:27AM -0500 schrieb Dale: > Given how I plan to use this drive, that should last a long time.  I'm > just putting the OS stuff on the drive and I compile on a spinning rust > drive and use -k to install the built packages on the live system.  That > should help

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Frank Steinmetzger
Am Tue, Apr 18, 2023 at 09:53:18PM +0100 schrieb Wol: > On 18/04/2023 21:01, Dale wrote: > > > I just use tmpfs for /var/tmp/portage (16GB, I'm on 32GB RAM.) Same. > /var/tmp/portage on tmpfs. And on every disk I allocate a swap partition > equal to twice the mobo's max memory. Three drives

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Mark Knecht
On Tue, Apr 18, 2023 at 2:15 PM Dale wrote: > > Mark Knecht wrote: > > > > On Tue, Apr 18, 2023 at 1:02 PM Dale wrote: > > > > > Someone mentioned 16K block size. > > > I mentioned it but I'm NOT suggesting it. > > It would be the -b option if you were to do it for ext4. > > I'm using the

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Dale
Mark Knecht wrote: > > > On Tue, Apr 18, 2023 at 1:02 PM Dale > wrote: > > > > > Someone mentioned 16K block size. > > > I mentioned it but I'm NOT suggesting it. > > It would be the -b option if you were to do it for ext4. > > I'm using the default block size (4k)

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Mark Knecht
On Tue, Apr 18, 2023 at 1:02 PM Dale wrote: > > Someone mentioned 16K block size. I mentioned it but I'm NOT suggesting it. It would be the -b option if you were to do it for ext4. I'm using the default block size (4k) on all my SSDs and M.2's and as I've said a couple of time, I'm going to

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Wol
On 18/04/2023 21:01, Dale wrote: I just use tmpfs for /var/tmp/portage (16GB, I'm on 32GB RAM.) When I keep binary packages around, those I have on my HDD, as well as the distfiles: DISTDIR="/mnt/Data/gentoo/distfiles" PKGDIR="/mnt/Data/gentoo/binpkgs" Most of mine is in tmpfs to except for

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Dale
Nikos Chantziaras wrote: > On 18/04/2023 18:05, Dale wrote: >> I compile on a spinning rust >> drive and use -k to install the built packages on the live system.  That >> should help minimize the writes.  > > I just use tmpfs for /var/tmp/portage (16GB, I'm on 32GB RAM.) When I > keep binary

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Mark Knecht
On Tue, Apr 18, 2023 at 7:53 AM Nikos Chantziaras wrote: > > On 16/04/2023 01:47, Dale wrote: > > Anything else that makes these special? Any tips or tricks? > > Only three things. > > 1. Make sure the fstrim service is active (should run every week by > default, at least with systemd,

Re: [gentoo-user] Can I safely switch (no)multilib profile???

2023-04-18 Thread netfab
Le 18/04/23 à 17:25, Dr Rainer Woitok a tapoté : > On Monday, 2023-04-17 13:49:57 +0200, you wrote: > > > ... > > Is the following file readable ? > > > > > $ ls -l $(portageq get_repo_path / gentoo)/profiles/profiles.desc > > Yes: > > [...] Please post your emerge --info.

[gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Nikos Chantziaras
On 18/04/2023 18:05, Dale wrote: I compile on a spinning rust drive and use -k to install the built packages on the live system.  That should help minimize the writes. I just use tmpfs for /var/tmp/portage (16GB, I'm on 32GB RAM.) When I keep binary packages around, those I have on my HDD,

Re: [gentoo-user] Can I safely switch (no)multilib profile???

2023-04-18 Thread Dr Rainer Woitok
Netfab, On Monday, 2023-04-17 13:49:57 +0200, you wrote: > ... > Is the following file readable ? > > > $ ls -l $(portageq get_repo_path / gentoo)/profiles/profiles.desc Yes: $ ls -l $(portageq get_repo_path / gentoo)/profiles/profiles.desc -rw-r--r-- 1 root root 20443 2023-03-24 15:05

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Dale
Nikos Chantziaras wrote: > On 16/04/2023 01:47, Dale wrote: >> Anything else that makes these special?  Any tips or tricks? > > Only three things. > > 1. Make sure the fstrim service is active (should run every week by > default, at least with systemd, "systemctl enable fstrim.timer".) > > 2.

[gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-18 Thread Nikos Chantziaras
On 16/04/2023 01:47, Dale wrote: Anything else that makes these special?  Any tips or tricks? Only three things. 1. Make sure the fstrim service is active (should run every week by default, at least with systemd, "systemctl enable fstrim.timer".) 2. Don't use the "discard" mount option.

Re: [gentoo-user] Finally got a SSD drive to put my OS on

2023-04-18 Thread Frank Steinmetzger
Am Mon, Apr 17, 2023 at 10:45:46AM -0700 schrieb Mark Knecht: > And I don't know that formatting ext4 or some other FS to 16K > really helps the write amplification issue but it makes sense to > me to match the file system blocks to the underlying flash > block size. The problem is finding out

Re: [gentoo-user] Can some config files be automatically protected from etc-update?

2023-04-18 Thread Neil Bothwick
On Tue, 18 Apr 2023 05:55:49 +0100, Wols Lists wrote: > On 17/04/2023 19:26, Walter Dnes wrote: > >Now that the (no)multilib problem in my latest update has been > > solved, I have a somewhat minor complaint. Can I get etc-update to > > skip certain files? My latest emerge world wanted to