I've built release binaries on 2.4 kernel, as far as I remember.
The Sys output is determined at runtime, not at compile time.
----- Original Message -----
From: "Atif Rasheed" <atif@xxxxxxxxxxxxxxxx>
Sent: Tuesday, October 11, 2005 8:09 AM
Bluce Ree thanks alot for your valueable comments. but what I can see
from both versions when I telnet to status port is that they are both
compiled on 2.6 kernel.
here is out put of telnet to status port from both versions
telnet to Precompiled version shows:
Version:
Gatekeeper(GNU) Version(2.2.3)
Ext(pthreads=1,radius=1,mysql=1,pgsql=1,large_fdset=0) Build(Aug 25
2005, 12:47:09) Sys(Linux i686 2.6.11.7)
GkStatus: Version(2.0) Ext()
Toolkit: Version(1.0) Ext(basic)
telnet to my own custom compiled shows:
Version:
Gatekeeper(GNU) Version(2.2.3)
Ext(pthreads=1,radius=0,mysql=0,pgsql=0,large_fdset=4096) Build(Oct 5
2005, 17:39:26) Sys(Linux i686 2.6.13)
GkStatus: Version(2.0) Ext()
Toolkit: Version(1.0) Ext(basic)
only difference is kernel subversion and support of things like mysql,
pgsql and radius etc which I have disabled in my own compilation. and I
have enabled large-fdset support.
Please comment ....
Thank you
--
Atif Rasheed
On Mon, 2005-10-10 at 19:10 -0700, bluce ree wrote:
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@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/