Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
portage tmpfs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
nikolis
Apprentice
Apprentice


Joined: 21 Aug 2003
Posts: 200
Location: Athens

PostPosted: Tue Sep 12, 2023 3:54 pm    Post subject: portage tmpfs Reply with quote

When does the best choice between portage tmpfs or kernel automatic FS caching occur ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54578
Location: 56N 3W

PostPosted: Tue Sep 12, 2023 4:10 pm    Post subject: Reply with quote

nikolis,

If you have the RAM for portage build space in tmpfs, the kernel caching will do that anyway.
By setting it explicitly, you avoid a lot of writes that will never be read. That's good for SSD life.

The switchover point depends on how much RAM you have, how many CPU logical threads you allow portage and what emerge --jobs= setting you use.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nikolis
Apprentice
Apprentice


Joined: 21 Aug 2003
Posts: 200
Location: Athens

PostPosted: Tue Sep 12, 2023 6:06 pm    Post subject: Reply with quote

thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum