由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - java multithreading常识一问
相关主题
怎么可以练习多线程编程呢?question on single thread & multithread
菜鸟问题一问如何让两个socket并行执行thread
GC finalize()一问如何快速处理上万个文件?
怎么练习java multithreada Java MultiThreading question
Where I can find comparison of JVMsBasic thread question
Re: Help!!! Java in Unix. Thread. I need exit and ls concurrently runn问个多线程的问题。
Simp question on thread synchronizationHow to ues log4j to send log email in the multithreaded processes as similiar with single-threaded
Follow up Re: Simp question on求推荐的java多线程教程
相关话题的讨论汇总
话题: cores话题: java话题: jvm话题: 512
进入Java版参与讨论
1 (共1页)
y**b
发帖数: 10166
1
一个cluster有64个nodes, 每个node有2 quad-core, 总共有512 cores.
在一个process里面使用java multithreading到底能利用多少个core,
4个, 8个还是512个呢?
或者哪里有文章涉及到这个问题? 多谢.
g*****g
发帖数: 34805
2
A java process is bounded by your JVM. So I don't think
you can use more than 8 (on one physical machine) in any case.
However, that doesn't mean you can't load balance the
cluster and use all 512 cores in your application.

【在 y**b 的大作中提到】
: 一个cluster有64个nodes, 每个node有2 quad-core, 总共有512 cores.
: 在一个process里面使用java multithreading到底能利用多少个core,
: 4个, 8个还是512个呢?
: 或者哪里有文章涉及到这个问题? 多谢.

N*D
发帖数: 3641
3
你在JVM上run,几个core不关你啥事;JVM能怎么弄就不知道了

【在 y**b 的大作中提到】
: 一个cluster有64个nodes, 每个node有2 quad-core, 总共有512 cores.
: 在一个process里面使用java multithreading到底能利用多少个core,
: 4个, 8个还是512个呢?
: 或者哪里有文章涉及到这个问题? 多谢.

t*******e
发帖数: 684
4
To better scale your hardware, match the number of JVMs to the number of "
cores" on your computer, as JVM doesn't scale well vertically across
multiple cores.
1 (共1页)
进入Java版参与讨论
相关主题
求推荐的java多线程教程Where I can find comparison of JVMs
a fun coding questionRe: Help!!! Java in Unix. Thread. I need exit and ls concurrently runn
multi-threading guru们 (转载)Simp question on thread synchronization
我觉得新手应该系统学学基本知识Follow up Re: Simp question on
怎么可以练习多线程编程呢?question on single thread & multithread
菜鸟问题一问如何让两个socket并行执行thread
GC finalize()一问如何快速处理上万个文件?
怎么练习java multithreada Java MultiThreading question
相关话题的讨论汇总
话题: cores话题: java话题: jvm话题: 512