[Asterisk-Dev] rewriting asterisk as a state machine?

Roy Sigurd Karlsbakk roy at karlsbakk.net
Thu Mar 3 12:00:20 MST 2005


hi

in current asterisk gateway setups, a set of 20 active channels 
generates something like 3500 context switches per second, giving a 
170-200 context switches per channel per second. This is an awful 
lot...

Would it be possible to rewrite asterisk so as each channel's data 
read/write would be in common threads with a select() or so? what would 
this take? this really would decrease the overhead on busy systems....

roy




More information about the asterisk-dev mailing list