I think the goal would be to reduce the number of trips to and from userspace by doing the multiplexing in userspace to avoid the context switches of reading every logical channel as a device. On Fri, Jan 30, 2009 at 4:45 PM, Jan Berger <janvb@live.com> wrote:
What do you want to achieve by moving the entire span up in user space unprocessed?
Jan
From: hselasky@c2i.net To: freeswitch-dev@lists.freeswitch.org Date: Fri, 30 Jan 2009 18:11:09 +0100 Subject: Re: [Freeswitch-dev] FreeSwitch + ISDN + analog phone adapters - status
On Friday 30 January 2009, Michael Jerris wrote:
Another useful advantage without the latency tradeoff is to read a full span or card every 1ms (or whatever sane interval) and chop up the bytes in userland. The latency argument dies if you are bridging to voip, so if you can handle bridging the tdm to tdm channels in kernel space, you could easily get away with 10ms reads to user space as well.
Mike
Hi,
Got your point.
In between:
I see more in Jan's argument. 48x30 bytes = 1440 bytes, which is an interesting size for full span E1.
--HPS
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
------------------------------ What can you do with the new Windows Live? Find out<http://www.microsoft.com/windows/windowslive/default.aspx>
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400