[asterisk-users] keep asterisk in RAM

2009-11-24 Thread Jerry Geis
Is there a way to keep asterisk in RAM and tell linux not to swap it out (ever). There are times when delays are noticed and I presume its due to linux swapping out the program. As if I call right back in then everything responds right away. Wait awhile and the same thing might occur. How can I

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread Alex Balashov
Disable swap space. swapoff -a Jerry Geis wrote: Is there a way to keep asterisk in RAM and tell linux not to swap it out (ever). There are times when delays are noticed and I presume its due to linux swapping out the program. As if I call right back in then everything responds right

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread Jeff LaCoursiere
Next question will be How can I keep my server from crashing? :) (add more RAM... which may have been a good answer for question 1...) j On Tue, 24 Nov 2009, Alex Balashov wrote: Disable swap space. swapoff -a Jerry Geis wrote: Is there a way to keep asterisk in RAM and tell linux not

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread Tzafrir Cohen
On Tue, Nov 24, 2009 at 08:21:43AM -0500, Jerry Geis wrote: Is there a way to keep asterisk in RAM and tell linux not to swap it out (ever). There are times when delays are noticed and I presume its due to linux swapping out the program. As if I call right back in then everything responds

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread Alex Balashov
I was proceeding from the give them enough rope to hang themselves theory of technical support, which calls for doing just that when users insist on framing their question in terms of a solution they have already made up their mind on without examining whether they are asking the right

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread jefferson alexandre
On Tue, Nov 24, 2009 at 11:21 AM, Jerry Geis ge...@pagestation.com wrote: Is there a way to keep asterisk in RAM and tell linux not to swap it out (ever). There are times when delays are noticed and I presume its due to linux swapping out the program. As if I call right back in then

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread Randy R
On Tue, Nov 24, 2009 at 2:36 PM, jefferson alexandre jefferson.alexan...@gmail.com wrote: On Tue, Nov 24, 2009 at 11:21 AM, Jerry Geis ge...@pagestation.com wrote: Is there a way to keep asterisk in RAM and tell linux not to swap it out (ever). On a closely related note, has anyone built a

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread Richard Kenner
On a closely related note, has anyone built a normal (not embedded) system on SSD? I've been running Asterisk on a 20GB SSD drive for a while now. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread David Gibbons
I recently implemented a vmware host using SSDs for the VM storage. I wish you could see the grin on my face right now. It's so fast. Remember thought that all SSDs are NOT created equal... Be careful what you buy. snip On a closely related note, has anyone built a normal (not embedded)

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread Randy R
On Tue, Nov 24, 2009 at 3:42 PM, Richard Kenner ken...@gnat.com wrote: On a closely related note, has anyone built a normal (not embedded) system on SSD? I've been running Asterisk on a 20GB SSD drive for a while now. And? Noticed any significant performance advantage? /r

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread Tilghman Lesher
On Tuesday 24 November 2009 07:21:43 Jerry Geis wrote: Is there a way to keep asterisk in RAM and tell linux not to swap it out (ever). There are times when delays are noticed and I presume its due to linux swapping out the program. As if I call right back in then everything responds right

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread Jeff LaCoursiere
On Tue, 24 Nov 2009, Richard Kenner wrote: On a closely related note, has anyone built a normal (not embedded) system on SSD? I've been running Asterisk on a 20GB SSD drive for a while now. What mft/model? I was recently quoted a 4GB Compact Flash drive as part of a small system we plan

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread Richard Kenner
What mft/model? Actually, it's 16GB, not 20GB. It's a Transcend TS16GSSD25S-S. I know that CF cards have a limited number of writes before frying. If we keep it from using swap am I really only concerned about voicemail and logs? That number is quite large, though. I'm taking backups and

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread Michael Graves
On Tue, 24 Nov 2009 14:56:32 + (UTC), Jeff LaCoursiere wrote: On Tue, 24 Nov 2009, Richard Kenner wrote: On a closely related note, has anyone built a normal (not embedded) system on SSD? I've been running Asterisk on a 20GB SSD drive for a while now. What mft/model? I was recently

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread Richard Kenner
And? Noticed any significant performance advantage? I never ran it any other way, so have no comparison point. I didn't do it for performance reasons, but reliability. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com --

Re: [asterisk-users] keep asterisk in RAM

2009-11-24 Thread David Gibbons
snip And? Noticed any significant performance advantage? /snip Massive increase in performance on mysql VMs with database sizes that exceed memory size (file caching). Boot times on VMs (windows and linux) under 10 seconds. There is no noticeable change in performance for normal operations on