PDU's per TCP Packet

2003-07-11 Thread Jeetendra Singh



It seems Kannel sends single PDU 
per TCP packet. Please confirm??

In this regard, can something be 
done so that multiple PDU's be sent in a single packet? This should help in 
getting higher throughput over public network like intenet.

Any ideas??
Best regards,
JS


Re: PDU's per TCP Packet

2003-07-11 Thread Jeetendra Singh





  
  Ermm, I doubt Kannel does anything so low level as creating individual 
  TCPpackets, as far as I know -- and I've been there cooking custom IP 
  packets.Could you re-phrase the question?
What I meant is that kannel writes on socket as soon as it gets a PDU to 
send towards SMSC. This will in essence results in lot of bandwidth 
wastage from Kannel GW machine towards SMSC. 

A way to do this can 
be:

If only we can pack multiple PDU's in a single conn_write() depending on 
PDU length, we can easily optimise the usage i.e if Kannel knows that there are 
messages to send in its outgoing queue, it can pack "n" such messages before 
doing a conn_write().

Well?!
-JS

  On Friday, 2003-07-11 at 05:27:25 PM, Jeetendra Singh 
  scribbled:  It seems Kannel sends single PDU 
  per TCP packet. Please confirm??   
   In this regard, can 
  something be done so that multiple PDU's be sent in 
  a single packet? This should help in getting higher 
  throughput over public network like intenet. 
 Any ideas?? 
   Best regards,  
  JS-- Benjamin LeeMelbourne, 
  Australia "Always 
  real." http://www.realthought.net/__If 
  you float on instinct alone, how can you calculate the buoyancy forthe 
  computed load?-- Christopher 
Hodder-Williams


Re: PDU's per TCP Packet

2003-07-11 Thread Andreas Fink

On Freitag, Juli 11, 2003, at 09:27  Uhr, Jeetendra Singh wrote:

It seems Kannel sends single PDU per TCP packet. Please confirm??
 

this is dependant on the size of the packet and on the status of the TCP stream. I dont think Kannel does anything to make sure a PDU fits into a TCP packet but in general this is probably true.

In this regard, can something be done so that multiple PDU's be sent in a single packet? This should help in getting higher throughput over public network like intenet.

not really.

Andreas Fink
Global Networks Switzerland AG

--
Tel: +41-61-333  Fax: +41-61-334   Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/  [EMAIL PROTECTED]
--



Re: PDU's per TCP Packet

2003-07-11 Thread Stipe Tolj
in general this *is* an option to thing about.

Apache does this too for serving the response files over the TCP
stream.

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are