On 4/3/06, Matt Roth <[EMAIL PROTECTED]> wrote: > Matt wrote: > > >>Right now we have seventy calls waiting in queues (all with native MOH) > >>and 120 calls connected to agents. The box is jumping between 50%-60% > >>idle. "ps auxm" shows 241 threads for Asterisk, but none of them take > >>more than 0.8% CPU. > >> > >>Personally, I wouldn't mind seeing an option that allowed native MOH to > >>pull from a single thread for each class. It would probably yield lower > >>CPU utilization, but I'm not sure how difficult it would be to > >>implement. If enough people are interested in this feature, it should > >>be submitted through Mantis as a feature request. > >> > >> > > > >Wow ... that's some pretty heavy call utilitization... ok good to > >know. With 6 calls on hold I'm seeing about 0.2% CPU used. It just > >seems like opening a new thread for every MOH instance will use more > >disk i/o as well. > > > Matt, > > I was considering moving the MOH files to a RAM disk at boot and then > playing them from there to handle that problem. I'm not sure it's > necessary, though. Currently, QueueMetrics is showing 100 callers in > queue, but iostat is showing almost no read activity on the disk. My > guess is that Linux is already caching the files to memory. Of course, > this is entirely dependent on the amout of memory in the system. > > Matthew Roth > InterMedia Marketing Solutions > Software Engineer and Systems Developer > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Ooooooooooooooo! Good point! Even though 100 instances of the same mp3/wav/etc may be opened... linux really only has it opened 'once'. Forgot about that :) Good point! _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
