Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ramdrive from a specific memorychannel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
SarahS93
l33t
l33t


Joined: 21 Nov 2013
Posts: 725

PostPosted: Fri Jun 07, 2024 9:13 pm    Post subject: ramdrive from a specific memorychannel Reply with quote

the system has 64gb total memory (2x 32gb)

dimm-a-1 32gb
dimm-a-2 none
dimm-b-1 32gb
dimm-b-2 none

i will make 2 ramdrives
how can i say that ramdrive1 is from dimm-a-* and ramdrive2 is from dimm-b-* ?
mount -t tmpfs -o size=8G none /mnt/ramdisk1/
mount -t tmpfs -o size=8G none /mnt/ramdisk2/
works, but i found no way to limit this to a specific dimm-channel, how can i do this?!
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3637
Location: Rasi, Finland

PostPosted: Fri Jun 07, 2024 9:35 pm    Post subject: Reply with quote

You cannot, afaik (somebody correct if I'm wrong).
tmpfs (like many other things) use memory from kernel virtual memory pool.

EDIT: And... I was, at least partly, wrong. Take a look at mpol mount option for tmpfs.
https://www.kernel.org/doc/html/latest/filesystems/tmpfs.html
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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