Re: [gentoo-user] Rusty problems

2021-04-29 Thread Adam Carter
On Wednesday, April 28, 2021, Alan Mackenzie wrote: > Hello, Gentoo. > > I'm having problems building rust. On systems that I setup assuming I wouldn’t need swap, I set swappiness low and add a swap file (on ssd if possible) so the bigger builds can at least finish, albeit more slowly.

Re: [gentoo-user] Rusty problems

2021-04-28 Thread Neil Bothwick
On Wed, 28 Apr 2021 23:05:35 +0100, antlists wrote: > > There have been several tests posted over the years that show that > > using a tmpfs for TMPDIR doesn't give as much of a gain as you would > > expect. With NVMe drives, the difference is likely to be even > > smaller. > > But that's not

Re: [gentoo-user] Rusty problems

2021-04-28 Thread antlists
On 28/04/2021 13:03, Neil Bothwick wrote: There have been several tests posted over the years that show that using a tmpfs for TMPDIR doesn't give as much of a gain as you would expect. With NVMe drives, the difference is likely to be even smaller. But that's not the only reason for a tmpfs. I

Re: [gentoo-user] Rusty problems

2021-04-28 Thread Neil Bothwick
On Wed, 28 Apr 2021 11:12:33 +, Alan Mackenzie wrote: > > I use rust-bin now, so this isn't an issue for me, but my laptop has > > only 8GB and this is how I have it set for chromium: > > > % cat /etc/portage/env/disk-tmpdir.conf > > PORTAGE_TMPDIR="/mnt/scratch" > > > % cat

Re: [gentoo-user] Rusty problems

2021-04-28 Thread Alan Mackenzie
Hello, Neil. On Wed, Apr 28, 2021 at 00:09:12 +0100, Neil Bothwick wrote: > On Tue, 27 Apr 2021 20:53:11 +, Alan Mackenzie wrote: > > Help! What am I supposed to do? I've got 16 Gb RAM (I'm _not_ going to > > use the word "only" here), and wondering just how big a chunk a ram disk > > can

Re: [gentoo-user] Rusty problems

2021-04-28 Thread Michael
On Wednesday, 28 April 2021 09:58:57 BST Wols Lists wrote: > On 27/04/21 23:00, Michael wrote: > > There's three options, I can think of: > > > > 1. Use dev-lang/rust-bin, as Matt suggested above. > > > > 2. Buy more RAM, or use a surrogate PC with more RAM to cross-compile it. > > > > 3. Use a

Re: [gentoo-user] Rusty problems

2021-04-28 Thread Wols Lists
On 27/04/21 23:00, Michael wrote: > There's three options, I can think of: > > 1. Use dev-lang/rust-bin, as Matt suggested above. > > 2. Buy more RAM, or use a surrogate PC with more RAM to cross-compile it. > > 3. Use a partition with enough space on it to bind mount /var/tmp/portage, > for

Re: [gentoo-user] Rusty problems

2021-04-28 Thread Andrew Lowe
On 28/4/21 3:04 pm, J. Roeleveld wrote: On Tuesday, April 27, 2021 10:53:11 PM CEST Alan Mackenzie wrote: Hello, Gentoo. I'm having problems building rust. [snip] ... ... [snip] Hope this helps, Joost I fall into the same camp as Matt. My machine uses Rust only for the Mozilla

Re: [gentoo-user] Rusty problems

2021-04-28 Thread J. Roeleveld
On Tuesday, April 27, 2021 10:53:11 PM CEST Alan Mackenzie wrote: > Hello, Gentoo. > > I'm having problems building rust. > > I build everything in a ram disk, and last night my 13 Gb ram disk > proved too small to build rust in. So I increased its size to 14 Gb, > and tried again this evening.

Re: [gentoo-user] Rusty problems

2021-04-27 Thread Neil Bothwick
On Tue, 27 Apr 2021 20:53:11 +, Alan Mackenzie wrote: > Help! What am I supposed to do? I've got 16 Gb RAM (I'm _not_ going to > use the word "only" here), and wondering just how big a chunk a ram disk > can take out of that before the machine siezes up altogether. But if I > increase the

Re: [gentoo-user] Rusty problems

2021-04-27 Thread Teru Yuu
On Tue, Apr 27, 2021 at 08:53:11PM +, Alan Mackenzie wrote: >But if I increase the ram disk to 15 Gb, even assuming it'd work Probably wouldn't, had same issue recently, 16GB was not enough, increased to 24GB just in case and it went through. >is it possible to redirect this one ebuild away

Re: [gentoo-user] Rusty problems

2021-04-27 Thread tastytea
On 2021-04-27 20:53+ Alan Mackenzie wrote: > Hello, Gentoo. > > I'm having problems building rust. > > I build everything in a ram disk, and last night my 13 Gb ram disk > proved too small to build rust in. So I increased its size to 14 Gb, > and tried again this evening. Same result.

Re: [gentoo-user] Rusty problems

2021-04-27 Thread Michael
On Tuesday, 27 April 2021 22:17:20 BST Matt Connell (Gmail) wrote: > On Tue, 2021-04-27 at 20:53 +, Alan Mackenzie wrote: > > I know I could plump for the -bin package. Maybe I should. > > I did, recently. > > Anecdotes/opinions/rant follows. Feel free to ignore, I just wanted to > vent

Re: [gentoo-user] Rusty problems

2021-04-27 Thread Matt Connell (Gmail)
On Tue, 2021-04-27 at 20:53 +, Alan Mackenzie wrote: > I know I could plump for the -bin package.  Maybe I should. I did, recently.  Anecdotes/opinions/rant follows. Feel free to ignore, I just wanted to vent because the issue is fresh in my mind. ... Some things just aren't worth

[gentoo-user] Rusty problems

2021-04-27 Thread Alan Mackenzie
Hello, Gentoo. I'm having problems building rust. I build everything in a ram disk, and last night my 13 Gb ram disk proved too small to build rust in. So I increased its size to 14 Gb, and tried again this evening. Same result. The pre-check on the disk size gave an OK both times, and both