> Seria a implementa�ao da JVM no linux um exemplo? No segundo artigo,
> onde existe o relacionamento da performance de um aplicativo java e o
> modelo MT utilizado pelo O.S,existe um quadro comparativo sobre
> sistemas operacionais. Porem nao existe nenhuma referencia a Linux. Se
> fosse possivel acrescentar mais uma linha neste grade, como seria ela
> em rela�ao ao Linux?
Evandro:
n�o sou um grande expert em Java, mas tenho algumas informa��es que talvez
possam te ajudar a pesquisar um pouco mais sobre Java no Linux.
N�s desenvolvemos um produto aqui em nossa empresa que roda em Linux, e
usa threads. O recurso de threads no Linux ainda est� em desenvolvimento,
portanto essa � uma limita��o do sistema que "incomoda" um pouco o pessoal
que trabalha com o JDK para Linux. As "green threads" funcionam sem
problema, mas as "native threads" - que s�o as threads "verdadeiras" - s�o
meio complicadas pra fazer funcionar. Com os novos kernels e bibliotecas,
isso tem melhorado.
Alguns links que podem te ajudar:
- http://www.blackdown.org/java-linux.html
- http://www.blackdown.org/java-linux/rel/117/v3/README-1.1.7v3.html
Trecho interessante: �tens "Native Theads Support" e "Using Native
Threads"
- http://www.ibm.com/developer/linux/papers/java-118.html
Trecho interessante:
"IBM's Java group will continue to focus on enhancing Java performance on
Linux, in particular with an eye to solving its limitations in scaling.
IBM's 1.1.8 port has performed well on the VolanoMark benchmark when the
number of simultaneous chat sessions is limited, but the port has had
difficulty scaling to a large number of simultaneous sessions. This is
due, in part, says Rajiv Arora, a senior performance engineer at IBM
Austin, to the manner in which Linux handles threading. By using native
threading, IBM's JVM can exploit symmetric multiprocessor (SMP) systems,
something none of the other Linux JVMs can. However, the current
implementation of Linux threading, where each thread is mapped to a
separate process, is just too heavyweight to scale to thousands of
threads. A number of options are being considered by IBM to enhance the
connection scaling of future Java releases, despite the limitations of
Linux threads."
Hope this helps!!! ;-)
Abra�os,
Maur�cio