Skip to contentSkip to conversation

7 GB RAM Drive

DISCUSSION Naveed Latif 3 participants 4 messages Jul 15, 2004

lore
Share & tools
lore
#0 lore raw

hello dears,

I want to make a 7 GB RAM Disk.
thorugh PAE I can access 64 GB, but problem is that one kernel module can't access more then 4gb at ones. 2 disks are working properly.
So I tried this method..

[DISK1....3GB] [Disk2......4GB]
* *
* *
* *
[Virtual disk 7GB]

when I recieve buffer head in virtual disk, by changing its [bh->b_rdev = disk1] or [bh->b_rdev = disk2]
I called generic_make_requestm but the same result, after 4gb it is failed.

even through list mechanism by which disk have a thread which getting bh(buffer head) from the list, and performed the operation. these bh's coming from virtual Disk.
This method is also failed..

Can any one help me regarding this issue, How I can I solve this problem.

Thanks.
Naveed Latif

________________________________________________________________________
Yahoo! India Careers: Over 65,000 jobs online Go to: http://yahoo.naukri.com/

#1 lore raw
Quoted 2 lines · Naveed Latif

Can any one help me regarding this issue, How I can I solve this problem.

Fix up rd.c so it can do mapping->gfp_mask |= GFP_HIGHUSER.

-- wli

#3 lore raw
Quoted 2 lines · Naveed Latif
Quoted 2 lines

hello dears,
I want to make a 7 GB RAM Disk.

Quoted 2 lines · Jeff Garzik

Use ramfs.
Jeff

rd.c has numerous issues beyond the performance/capacity -related ones that are irreparable without invasive changes elsewhere in the kernel (and similarly, the performance/capacity issues require likewise). So it would be best for him to do so if possible, yes. So I concur.

-- wli