Re: gnugk multiple threads..../configure options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
The precompiled version seems to have been compiled under a 2.4.x kernel that uses the badly implemented LinuxThreads library, which is nothing more than a stripped down forking to simulate threads and, thus, each thread appears as a separate process with its own PID.
 
Atif's version is most likely compiled under a 2.6.x kernel (a more recent Linux distro), which uses the newer Pthreads libraries that implement true-threading, which do not appear as separate processes. Real threads share the same PID as the parent process and performance is several orders of magnitude superior to the old implementation.
 
 
Re: gnugk multiple threads..../configure options  
2005-10-10 08:12
 
 
 
 Is there any differences between the way that you are bringing these two programs up? For
example, you are running the precompiled one manually, while the one that you compiled
yourself is defined as a system service.
 
 -Bahram.
   ----- Original Message ----- 
   From: Atif Rasheed 
   To: openh323gk-users@xxxxx 
   Sent: Monday, October 10, 2005 6:09 AM
   Subject:  gnugk multiple threads..../configure options
 
 
   Hi all,
 
   I am using gnugk 2.2.3-2. now I can see a difference in my own custom
   compiled gnugk and pre-compiled gnugk available online at http://www.gnugk.org.
 
   I have compiled gnugk with these options
   ./configure --disable-mysql --disable-pgsql --disable-radius
   --with-large-fdset=4096.
 
   and I have set RtpHandlerNumber=10 and CallSignalHandlerNumber=10
 
   now when I execute these two gnugk's seperately. I can see ( from 'ps
   aux' )the precompiled version running with multiple threads
   where as I can't see threads in my own custom compiled version 
 
   Is there any ./configure option I am missing, Please comment !!!
 
   'ps aux' output of my own custom Compiled:
 
   10067 pts/1    Sl     0:00 /usr/local/bin/gnugk -c /etc/gnugk.ini
 
   'ps aux' output of Pre-Compiled:
 
   22518 ?        S      4:41 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22519 ?        S      0:19 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22520 ?        S      0:01 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22522 ?        S      8:05 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22523 ?        S      8:03 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22524 ?        S      8:03 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22525 ?        S      8:02 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22526 ?        S      8:02 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22527 ?        S      8:02 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22528 ?        S      8:00 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22529 ?        S      8:01 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22530 ?        S      8:00 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22531 ?        S      8:02 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22532 ?        S    131:17 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22533 ?        S    131:46 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22534 ?        S    137:47 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22535 ?        S    128:35 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22536 ?        R    131:49 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22537 ?        S    130:45 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22538 ?        S    135:30 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22539 ?        S    130:22 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22540 ?        S    135:53 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22542 ?        S    126:41 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22543 ?        S      0:39 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22544 ?        S      0:53 /usr/local/bin/gnugk -c /etc/gnugk.ini
   22545 ?        S      0:44 /usr/local/bin/gnugk -c /etc/gnugk.ini
    3085 ?        S      0:10 /usr/local/bin/gnugk -c /etc/gnugk.ini
    3267 ?        S      0:06 /usr/local/bin/gnugk -c /etc/gnugk.ini
 
 
 
 
 
 
   -------------------------------------------------------
   This SF.Net email is sponsored by:
   Power Architecture Resource Center: Free content, downloads, discussions,
   and more. http://solutions.newsforge.com/ibmarch.tmpl
   _______________________________________________________
 
   Posting: mailto:Openh323gk-users@xxxxx
   Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
   Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
   Homepage: http://www.gnugk.org/


Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux