Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RAMDISK] Autrement que par grub.conf ? (resolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
dapsaille
Advocate
Advocate


Joined: 02 Aug 2004
Posts: 2366
Location: Paris

PostPosted: Thu Dec 28, 2006 3:29 pm    Post subject: [RAMDISK] Autrement que par grub.conf ? (resolu) Reply with quote

Bonjour à tous ...


Bah voila j'ai plein de ram pour jouer ... mais aussi pour me faire des plaisirs inutiles (quoi je l'ai déja dit :wink: )

Donc un chti

Code:

du -h


dans /usr/portage m'indique 800Mo avec quelques archives dans le distfiles ...

Chouette un free me sors ca

Code:

             total       used       free     shared    buffers     cached
Mem:       4120184    1970196      89896          0     169172     975028


Bon je vous laisse deviner la suite :p

Sauf que je n'ais pas trouvé de commandes me permettant de créer un ramdisk "on the fly" ... super vexant :cry:

D'un autre coté cette idée m'as pris comme une envie .. donc j'ai un peu zieuté l'ami google qui me rebalance encore et toujours sur une modif de la taille ramdisk initial (initrd)

pas très cool


Last edited by dapsaille on Thu Dec 28, 2006 5:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
nemo13
Veteran
Veteran


Joined: 08 Oct 2004
Posts: 1016
Location: France/Istres

PostPosted: Thu Dec 28, 2006 3:44 pm    Post subject: Reply with quote

Bonjour Dapsaille,
ces bidulles te causent-ils ?
Code:
 zgrep -i  ram /proc/config.gz
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_BLK_DEV_RAM is not set  ----------------> lui en particulier
CONFIG_NVRAM=y
CONFIG_RAMFS=y

par contre çà n'a pas l'air de construire à la volée.
A+
Back to top
View user's profile Send private message
dapsaille
Advocate
Advocate


Joined: 02 Aug 2004
Posts: 2366
Location: Paris

PostPosted: Thu Dec 28, 2006 3:47 pm    Post subject: Reply with quote

nemo13 wrote:
Bonjour Dapsaille,
ces bidulles te causent-ils ?
Code:
 zgrep -i  ram /proc/config.gz
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_BLK_DEV_RAM is not set  ----------------> lui en particulier
CONFIG_NVRAM=y
CONFIG_RAMFS=y

par contre çà n'a pas l'air de construire à la volée.
A+



Code:

DaPsaille portage #  zgrep -i  ram /proc/config.gz
CONFIG_INITRAMFS_SOURCE=""
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
CONFIG_HOSTAP_FIRMWARE_NVRAM=y
CONFIG_NVRAM=m
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
CONFIG_RAMFS=y
CONFIG_CRAMFS=m


Donc déja fait :p

Mais pas à la volée ... ca me fait drole quand je pense que sur amiga on faisait déja des ramdisk on the fly
Back to top
View user's profile Send private message
GentooUser@Clubic
l33t
l33t


Joined: 01 Nov 2004
Posts: 829

PostPosted: Thu Dec 28, 2006 5:28 pm    Post subject: Reply with quote

TMPFS ?
http://gentoo-wiki.com/TIP_Speeding_up_portage_with_tmpfs

Ou alors je me gourre :?:
Back to top
View user's profile Send private message
dapsaille
Advocate
Advocate


Joined: 02 Aug 2004
Posts: 2366
Location: Paris

PostPosted: Thu Dec 28, 2006 5:41 pm    Post subject: Reply with quote

GentooUser@Clubic wrote:
TMPFS ?
http://gentoo-wiki.com/TIP_Speeding_up_portage_with_tmpfs

Ou alors je me gourre :?:



Héhéhé en plein dans le mille..

quoi que c'est plutot pour l'arbre portage qui vas être partagé en NFS sur le réseau donc big speedup :wink:
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Thu Dec 28, 2006 6:00 pm    Post subject: Reply with quote

Roh! Da noob!

Comme dit t'as l'option tmpfs, où t'as aussi les /dev/ramN que tu peux formater à ta guise avec le fs de ton choix. Je sais que la taille des ramdisks est modifiable en tant que bootparam, par contre pour le nombre de ramdisks et leur blocksize, j'avais vu qu'au moment du make menuconfig, donc à creuser.
Back to top
View user's profile Send private message
dapsaille
Advocate
Advocate


Joined: 02 Aug 2004
Posts: 2366
Location: Paris

PostPosted: Fri Dec 29, 2006 6:38 pm    Post subject: Reply with quote

Enlight wrote:
Roh! Da noob!



Meuhh ... prfttttt attention ou je format mes fs en fat12 :p
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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