Hi, We have a software where Client is used to copy file over to and from a server. The communication happens over SSL layer. I am analyzing an issue where file copying is "very" slow using our client-server software when compared with some other tools. What I have observed is that, the packets captured follow a pattern. First there will be a packet with a payload data of 16384 bytes (reassembled from 12 assembled TCP segments) and the next one be a packet with payload data of 71 bytes only. And this pattern repeats itself. I am worried about the packet with 71 bytes, is it causing some delay? The following is the screenshot of a reassembled packet of 16384 bytes. The following is the screenshot of next packet of 71 bytes. This pattern of 16384 byte SSL record(?) and 71 byte SSL record(?) keeps on repeating itself till the whole file is uploaded. Could this be slowing down the file transfer? Moreover, why could this thing be happening? Any pointers? Sorry if this is something very simple that I can't understand, I am very new to this thing. Thanks for taking time to go through this message. asked 26 Dec '14, 12:02 prabhatpuros... edited 26 Dec '14, 12:07 |
One Answer:
First of all: It's hard to do troubleshooting based on screenshot, where most of the interesting parts are missing!! Would it be possible to upload an anonymized capture file (see tracewrangler.com) somewhere (google drive, dropbox, cloudshark.org) and to post the link here?? Anyway, here are some wild guesses based on the information you provided in the text and the screenshots.
So, here are some ideas: Idea #1: Try to find the value of 16 Kbyte in your code or the config of your TCP/IP stack (send/receive buffer) and increase that value. Maybe that will increase throughput. Idea #2: Compare a capture file created with your application to one created with another client. How do they differ? Idea #3: draw the following I/O graphs and post them here.
Regards answered 27 Dec '14, 07:30 Kurt Knochner ♦ |