Find the answer to your Linux question:
Results 1 to 2 of 2
I have an application which server around 8000 clients. Each client spawns a new thread. Each thread has a socket on which it sends data. A main thread has a ...
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Posts
    1

    Help regarding optimizing socket performance.

    I have an application which server around 8000 clients. Each client spawns a new thread. Each thread has a socket on which it sends data. A main thread has a socket on which it received data and puts it on the concerned clients queue. The packets received per sec is approx 10Mbps. While doing so, I observe that when my client base increases beyond 1000, i.e. 1000 threads, the software interrupt hits 25% and the system slows down a lot which I believe would be something to do with the system calls made to send/receive each packet. I am not sure abt the reason.
    Host machine - Ubuntu 11.04 (64 bit).
    I am not sure if I am giving all the details needed but in case anyone has any idea about optimizing the performance or a way to find what is causing this high software interrupt?

  2. #2
    Just Joined!
    Join Date
    Oct 2011
    Posts
    50
    I don't believe it has anything with socket performance but rather the application you are running. Since we have no details about it we can't help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •