You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Anthony E." <ap...@yahoo.com> on 2001/01/21 21:42:27 UTC
java threads: native_threads vs. green_threads
What's the difference between native_threads &
green_threads?
I've installed cocoon1.8.1 on a new server, using jdk
1.2.2 instead of 1.1.8.
My xml pages are more stable now (not as many
compilation errors)...but the site is much slower,
particularly when more than 1 user access any of the
xsp pages simultaneously.
I checked the process running, and below is the
difference, I'm wondering if the lack of more than one
Java thread on the new install could explain the
performance issue.
Could someone shed some light on this? Thanks!
Old installation jdk1.1.8:
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU
%MEM TIME COMMAND
329 nobody 0 0 132 96 32 S 0 0.0
0.0 0:00 identd
334 nobody 0 0 132 96 32 S 0 0.0
0.0 0:07 identd
335 nobody 0 0 132 96 32 S 0 0.0
0.0 0:00 identd
336 nobody 0 0 132 96 32 S 0 0.0
0.0 0:00 identd
337 nobody 0 0 132 96 32 S 0 0.0
0.0 0:00 identd
26504 nobody 0 0 1484 1484 1304 S 0 0.0
0.1 0:00 /usr/local/apache/bin/httpd
26506 nobody 0 0 1548 1548 1456 S 0 0.0
0.1 0:00 /usr/local/apache/bin/httpd
26507 nobody 0 0 1548 1548 1456 S 0 0.0
0.1 0:00 /usr/local/apache/bin/httpd
26508 nobody 0 0 1548 1548 1456 S 0 0.0
0.1 0:00 /usr/local/apache/bin/httpd
26509 nobody 0 0 1548 1548 1456 S 0 0.0
0.1 0:00 /usr/local/apache/bin/httpd
26510 nobody 0 0 1548 1548 1456 S 0 0.0
0.1 0:00 /usr/local/apache/bin/httpd
26515 nobody 5 0 13160 12M 1076 S 0 0.5
1.2 0:00
/usr/local/jdk118/bin/linux/native_threads/java
org/apache/jserv
26505 nobody 13 0 13160 12M 1076 S 0 0.0
1.2 0:02
/usr/local/jdk118/bin/linux/native_threads/java
org/apache/jserv
26513 nobody 15 0 13160 12M 1076 S 0 0.0
1.2 0:00
/usr/local/jdk118/bin/linux/native_threads/java
org/apache/jserv
26514 nobody 0 0 13160 12M 1076 S 0 0.0
1.2 0:00
/usr/local/jdk118/bin/linux/native_threads/java
org/apache/jserv
26516 nobody 0 0 13160 12M 1076 S 0 0.0
1.2 0:00
/usr/local/jdk118/bin/linux/native_threads/java
org/apache/jserv
26517 nobody 0 0 13160 12M 1076 S 0 0.0
1.2 0:00
/usr/local/jdk118/bin/linux/native_threads/java
org/apache/jserv
26519 nobody 11 0 13160 12M 1076 S 0 0.0
1.2 0:00
/usr/local/jdk118/bin/linux/native_threads/java
org/apache/jserv
26520 nobody 16 0 13160 12M 1076 S 0 0.0
1.2 0:00
/usr/local/jdk118/bin/linux/native_threads/java
org/apache/jserv
New installation jdk1.2.2:
PID USER PRI NI SIZE RSS SHARE LC STAT %CPU
%MEM TIME COMMAND
452 nobody 0 0 148 100 36 0 S 0.0
0.0 0:00 identd
456 nobody 0 0 148 100 36 1 S 0.0
0.0 0:00 identd
457 nobody 0 0 148 100 36 0 S 0.0
0.0 0:00 identd
458 nobody 0 0 148 100 36 0 S 0.0
0.0 0:00 identd
459 nobody 0 0 148 100 36 1 S 0.0
0.0 0:00 identd
12090 nobody 0 0 1348 1348 1184 1 S 0.0
0.1 0:00 /usr/local/apache/bin/httpd
12091 nobody 2 0 10816 10M 836 0 S 0.0
1.0 0:02
/usr/local/jdk1.2.2/bin/i386/green_threads/java
org.apache.jserv.J
12092 nobody 0 0 1416 1416 1292 0 S 0.0
0.1 0:00 /usr/local/apache/bin/httpd
12093 nobody 0 0 1416 1416 1292 0 S 0.0
0.1 0:00 /usr/local/apache/bin/httpd
12094 nobody 0 0 1416 1416 1292 0 S 0.0
0.1 0:00 /usr/local/apache/bin/httpd
12095 nobody 0 0 1416 1416 1292 0 S 0.0
0.1 0:00 /usr/local/apache/bin/httpd
12096 nobody 0 0 1416 1416 1292 0 S 0.0
0.1 0:00 /usr/local/apache/bin/httpd
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
Re: java threads: native_threads vs. green_threads
Posted by Donald Ball <ba...@webslingerZ.com>.
On Sun, 21 Jan 2001, Anthony E. wrote:
> What's the difference between native_threads &
> green_threads?
this is not a cocoon question. check out a java faq.
- donald