[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: RAM Disk vs In Memory Database


  • Date: Wed, 16 Dec 2009 08:14:04 -0000
  • From: "etoketrader" <etoke@xxxxxxxxx>
  • Subject: [amibroker] Re: RAM Disk vs In Memory Database

PureBytes Links

Trading Reference Links

Hi,

I agree with Tomasz that the inbuilt cache memory is faster than a RAM Disk, but there is the size limit problem. 64 bit AB resolves this issue, but unfortunately the IQFeed plugin I use does not work with this setup, so for me a RAM Disk and 32bit AB was the only choice.

I've been using this setup for several months now and I won't go back until IQFeed Plugin will work with 64bit systems.

My settings for "In Memory Cache Size" is 11 and max. Megabytes is 850.

I run a 7GB+ DB on a 16GB RAM machine for which 10GB is a RAM Disk.

When I ran the original tests I had experienced 4-6X speed improvement.

I might have got this improvement because I might have a slow harddisk to start with. Crystalmark shows something like 1900MB/s on the RAM Disk vs 86GB/s sequential read on my HDD.

Regards,
eToke


--- In amibroker@xxxxxxxxxxxxxxx, "smw311" <steve@xxx> wrote:
>
> 
> Thanks for the quick reply Tomasz! I totally agree the AB in-memory cache is the way to go except that it's currently limited to 4Gb. The RAM disk is a work around until this limitation is lifted.
> 
> regards,
> Steve
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, Tomasz Janeczko <groups@> wrote:
> >
> > Hello,
> > 
> > I don't quite why you would want to use RAM DISK as a "virtual drive"
> > when you can use AmiBroker in-built cache that is always going to be 
> > faster than
> > RAM disk and would use less memory. With RAM disk same data are in fact
> > twice in RAM once in virtual disk and second time in AB internal cache.
> > 
> > So don't use RAM disk, use AB in-memory cache instead.
> > 
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> > 
> > On 2009-12-15 21:28, smw311 wrote:
> > > Since I still have not been able to get Amibroker 64 on Win7 to run larger databases in memory I decided to try a RAM disk. I just created a 6Gb one and loaded my 5.9Gb database on it. I get slightly less than a 2X speed up. Was hoping for significantly more. :( I remember reading posts in this forum that others have seen 4X - 6X increase. I tried running with and with out a swap file but that does not seem to make a big difference.
> > >
> > > Any thoughts on what else to do to make it go faster would be really appreciated!
> > >
> > > Thanks
> > > Steve
> > >
> > >
> > >
> > >
> > > ------------------------------------
> > >
> > > **** IMPORTANT PLEASE READ ****
> > > This group is for the discussion between users only.
> > > This is *NOT* technical support channel.
> > >
> > > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > > SUPPORT {at} amibroker.com
> > >
> > > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > > http://www.amibroker.com/feedback/
> > > (submissions sent via other channels won't be considered)
> > >
> > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > > http://www.amibroker.com/devlog/
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> >
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/