Re: using RAMDISK with ats

2016-07-25 Thread Leif Hedstrom
There was a time where you could only have one. Don't remember when it was fixed, but a while ago :-). Cheers -- Leif > On Jul 25, 2016, at 11:41 PM, James Peach wrote: > > > >> On Jul 26, 2016, at 2:13 AM, Steve Malenfant wrote: >> >> I believe there is a limitation to only 1 file path

Re: using RAMDISK with ats

2016-07-25 Thread James Peach
> On Jul 26, 2016, at 2:13 AM, Steve Malenfant wrote: > > I believe there is a limitation to only 1 file path you can use in ATS > (might be wrong). You can use as many cage files or directories as you like. I think the limitation you are referring to is that if you use a cache directory you

Re: using RAMDISK with ats

2016-07-25 Thread Steve Malenfant
I believe there is a limitation to only 1 file path you can use in ATS (might be wrong). If you use block devices, you can multiple block devices (RAM, SSD or HDD) and assign different volume to them. So you can have different content on different block devices. On Mon, Jul 25, 2016 at 5:43 AM, Ra

Re: using RAMDISK with ats

2016-07-25 Thread Randeep
Thank you Leif, James and Steve. I don't have any issue using RAMdisk with tmpfs mounting as directory. I was asking whether it is right thing to do. Best regards, Randeep On Sun, Jul 24, 2016 at 6:37 PM, Steve Malenfant wrote: > Look into the Traffic Control CDN project. They have figured tha

Re: using RAMDISK with ats

2016-07-24 Thread Steve Malenfant
Look into the Traffic Control CDN project. They have figured that one out with the ramdisk block devices. As far as I can tell, it should be the following : - Set the proper ramdisk_size in the kernel boot line to create big enough ramdisk block devices - Put as many devices you need in the storag

Re: using RAMDISK with ats

2016-07-24 Thread James Peach
> On Jul 24, 2016, at 4:21 PM, Randeep wrote: > > Thank you James. > > Is there any specific way do you recommend using ramdisk? As raw device? Like I just said, you can’t use tmpfs as a block device. I believe you can use ramdisk as a block device but I haven’t tried it; you should go read t

Re: using RAMDISK with ats

2016-07-23 Thread Randeep
Thank you James. Is there any specific way do you recommend using ramdisk? As raw device? Regards, Randeep On Sun, Jul 24, 2016 at 11:48 AM, James Peach wrote: > > > On Jul 24, 2016, at 2:18 PM, Randeep wrote: > > > > Hi all, > > > > I am trying to use RAMdisk for ats. > > > > Here is how I c

Re: using RAMDISK with ats

2016-07-23 Thread James Peach
> On Jul 24, 2016, at 2:18 PM, Randeep wrote: > > Hi all, > > I am trying to use RAMdisk for ats. > > Here is how I created RAMDISK > *mount -o size=20G -t tmpfs none /mnt/ramdisk/* > > And in storage.config I have specified it as below. > cat /opt/ats/etc/trafficserver/storage.config > /mnt/

Re: using RAMDISK with ats

2016-07-23 Thread Leif Hedstrom
I can't check now, but you really want to use the RAM disk as a raw device. Don't make a file system on it. -- Leif > On Jul 24, 2016, at 6:18 AM, Randeep wrote: > > Hi all, > > I am trying to use RAMdisk for ats. > > Here is how I created RAMDISK > *mount -o size=20G -t tmpfs none /mnt/ram

using RAMDISK with ats

2016-07-23 Thread Randeep
Hi all, I am trying to use RAMdisk for ats. Here is how I created RAMDISK *mount -o size=20G -t tmpfs none /mnt/ramdisk/* And in storage.config I have specified it as below. cat /opt/ats/etc/trafficserver/storage.config /mnt/ramdisk* 20G* But every time I restart ats, I get the following warnin