Re: Adding epoll support to Kannel
Andreas Fink <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
the question to ask is "what kind of problem are we trying to solve"? I could imagine having a SMPP driver which has one thread reading all the incoming packets by sitting on a single poll call dealing with all the connections in parallel. This reduces the amount of threads but it also increases the workload per thread up to the extent that multi core CPU's would be not so efficiently used. It depends a lot on the environment you are in as well. So far I have not see any performance issues with Kannel and its threading model. Also epoll is not supported on my favourite operating system and seems to exist only under Linux. > Am 14.11.2014 um 22:27 schrieb Porter, Kelvin R. <[email protected]>: > > Hi, > > Epoll generally adds a lot of complexity. Generally, using epoll implies thread-pooling, use of semaphores, etc. Is this consideration being driven by profiling indicating that the processes are somehow being thread-bound? Or some other consideration? > > Regards, > > Kelvin R. Porter > > -----Original Message----- > From: devel [mailto:[email protected]] On Behalf Of Donald Jackson > Sent: Friday, November 14, 2014 3:21 PM > To: kannel_dev_mailinglist > Subject: Adding epoll support to Kannel > > Hi all, > > Do any of you have any comments or concerns about potentially adding epoll support to Kannel ? > > I think long term this could be used for better connection management rather than the 'connection per thread' approach we currently make use of (mostly). > > Cheers, > Donald > Andreas Fink CEO DataCell ehf CEO Backbone ehf --------------------------------------------------------------- Tel: +41-61-6666330 Fax: +41-61-6666331 Mobile: +41-79-2457333 Address: Clarastrasse 3, 4058 Basel, Switzerland E-Mail: [email protected] www.datacell.com, www.backbone.is, www.finkconsulting.com www.fink.org --------------------------------------------------------------- Jabber/XMPP: [email protected] ICQ: 8239353 Skype: andreasfink
signature.asc
(application/pgp-signature, 872 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.26 Comment: GPGTools - http://gpgtools.org iQIcBAEBCgAGBQJUZnZEAAoJEOtfx+3l1p1n6bgP/0rzZNznoyNiM4KxPLJWP0xc S7PJ+eJwu8lKy2qr/2rY7YPx9VvwCjHH5qTgfrhmtGVF56FEvbmz94dlDU5gwXF1 jRsDiG123Mahq9eIqiSy1+fY+pF4L0PWApFy33xI1L4cTohMFYaWwjSy68mcdB2J 2ksm3uxZtTO7/YAI96lUzbkPhUQs6LZKElt22yyheK+cibgBEegZwTRJgkeGmCqO Z2Q2CdVSvXMilp8bs7LWUmcfqn/BZzVq21Y6jysViCk69Xm4LMtXBRrLDrPe+Tnn 795x+/cDROzDji2eDj/YW/YNKoDTTzjUHlN2DocZktZTBLKYKGupyobzme38VABb 9YRu+EBLwvW5nMW6v2/XFgxwe6aaco0UHfX0cPN7GMvjjLaC7ArgXxO0ErVAmXyt EYskHPc3iVK4Ec9xmrGCFVr16Que5GqpLQmBYHFdmFTig5moSd4CvnGaEL/dIvYV Wq40EkK2uVnWcxMFE6PIyuRXOyF2ec7hsjPWMMTNL48GsBTmRkrdbWTLVgQ36t7z OtLz6lQ6DcWoQAqTbQ1DhfKOt7qJv4gj06t2YC8QVJEbiZmzCJQKqsC06f1NyGys CTEuur9bQJ2Mdr1i1AJlvLxDYG243fTAZoA3xEvFgWoH+QEveqOIRAp5UoZSHAG2 pB9frrvmgsK1pCpn3ifs =fFDQ -----END PGP SIGNATURE-----