rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: jack_2000 on March 12, 2009, 10:50:24 AM

Title: Feature request: Ram preload for big file streaming.
Post by: jack_2000 on March 12, 2009, 10:50:24 AM
I have 4 gigs of ram and by the looks of it HFS doesn't utilisze it as mutch as i'd like.
Is it possible to add an option for HFS to precache large/ often used files in ram so as not to read them from the HDD?
Title: Re: Feature request: Ram preload for big file streaming.
Post by: rejetto on March 12, 2009, 11:24:03 AM
it looks like a nice addition, but i doubt we'll ever see it. :-/
Title: Re: Feature request: Ram preload for big file streaming.
Post by: maverick on March 12, 2009, 11:32:03 AM

How about using a ramdisk?  Might work.
Title: Re: Feature request: Ram preload for big file streaming.
Post by: jack_2000 on March 12, 2009, 11:39:27 AM
I do use a virtual ram drive. Though it's for my apache server.
Title: Re: Feature request: Ram preload for big file streaming.
Post by: rejetto on March 12, 2009, 06:48:37 PM
i thought he was asking a feature like this:

500MB dedicated.
you have 1000 files, each one is 100MB.
every time i file is requested, if we have enough free memory this is fully loaded.
when the request is over, the file is removed from the memory.
when the memory is not enough, it just works the old way.
Title: Re: Feature request: Ram preload for big file streaming.
Post by: jack_2000 on March 13, 2009, 01:13:07 PM
Yes rejetto, also there could be user-set time for how long HFS keeps a file in memory if there is "space" before it removes it. In case it's an often sought-after file.