- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Really Big RAMDisk?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 10:13 AM
05-12-2005 10:13 AM
Really Big RAMDisk?
One of the nodes is a collector. I aquires data from a monitoring array in real time. The problem is, the data in rate is so fast, the 2.5 GB of data is collects in one hit can only be stored on a RAMdisk, magnetic disks are just too slow. The collector has 4GB RAM.
What we wanted to do then was NFS share the RAMDisk out to the other nodes who then pour over the data reducing it to the required state. The speed of this network link is not an issue as the 12 or so machines doing this a flat out compute bound. In fact we may even need more to improve the computation rate.
But I have a problem. With RAMfs ramdisks I can get the size OK but NFS will not share them. I guess this makes sense since both NFS and RAMfs sit as a VFS. The old RAM disks using /dev/ramN do work find on NFS if you pass mke2fs over them. I guess NFS likes the fs structure a bit better. But if you tell the kernel to use 3000000KB for ramdisks (it's OK with upto about 500MB) and it just will not play ball. This is too small. We also found even then you can do a mke2fs -v -F -m 0 /dev/ram1 300000 and it works but then a mount -t ext2 /dev/ram1 /rd1 may or may not. Sometimes it does, but others it will just bomb out with "mount: wrong fs type, bad option, bad superblock on /dev/ram1, or too many mounted file systems". Try it again and it may work.
BTW there are no other memory consumers running when all of this is going on apart from the odd ls command.
There has got to be a better way to do this???
Is there anyway to get RAMfs to work over NFS, can I get a big /dev/ramN device. Someone did suggest trying LVM or RAID to combine the limited /dev/ramN disks into a big volume. Is that the best way to go?
This is all very frustrating.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 12:44 PM
05-12-2005 12:44 PM
Re: Really Big RAMDisk?
Better off getting the fastest highest rotation speed storage you can get your hand on and set the buffers very high so a lot of the filesystem data is in memory.
Raid 1 on two independent controllers will limit bottlenecks.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 01:31 PM
05-12-2005 01:31 PM
Re: Really Big RAMDisk?
It could also be said that we could just point the collectors to a hugh DMA buffer then let it go. But, there is still a latency while the buffer is flushed to disk (again it's too slow) and the RAMdisk solution on a small size shows it's performance is adequate (although only just) to avoid undesirable latency.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 06:47 PM
05-12-2005 06:47 PM
Re: Really Big RAMDisk?
tmpfs keeps all its data in ram, and it is usually big as half the ram installed in your machine (so it is 2G for you).
This filesystem is _really_fast_, but keep an eye on the swap activity because the kernel is happy to swap out tmpfs when applications need memory (you have other 2G to use for all the other things... maybe it's enough).
I don't know if nfs could export a tmpfs filesystem... If it doesn't, you can try to create a 2GB file into /dev/shm and mount it as a block device (using a loop device) and format it as ext3/reiser filesystem. This should like to nfs.
Ciao
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 10:59 PM
05-12-2005 10:59 PM
Re: Really Big RAMDisk?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 11:58 AM
05-13-2005 11:58 AM
Re: Really Big RAMDisk?
There is also really expensive, solid state disk that I was once told about at an oracle seminar.
NFS can't do what you ask of it, so perhaps explore other ideas.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com