由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 真正的multi-threading是5个thread要5个cpu?那apache是真正的m
相关主题
multi threading 还是 multi processingProblem of Thread by Prof. Lee大伙怎么看?
c++下如何实现多线程?一个multithread的问题(是不是有人觉的很简单?)
[合集] 怎么样提高自己的multi-thread programming能力?rand() in multitreading
thread, semaphore, 问题。thread c++ 问题
python下的expecta question about Nachos in C
多线程编程前景如何?用多线程怎么比单线程还慢呢?
有谁用TBB吗来来,讨论一下multithread, multi-core, affinity
why do we need to map user threads to kernel threads?multithread app的design要注意哪些问题?
相关话题的讨论汇总
话题: thread话题: multi话题: 真正话题: cpu话题: apache
进入Programming版参与讨论
1 (共1页)
c*********e
发帖数: 16335
1
Apache is a multi-threaded HTTP server。 但是,据说要真正的multi-thread,比如
要开5个thread,就要有5个cpu. 是这样的吗?
p*****2
发帖数: 21240
2
问题问的有点怪
你说的是并行?
multithread更多是并发的概念

【在 c*********e 的大作中提到】
: Apache is a multi-threaded HTTP server。 但是,据说要真正的multi-thread,比如
: 要开5个thread,就要有5个cpu. 是这样的吗?

g*****g
发帖数: 34805
3
You don't, it's normal for a web server to have dozens of cpus and hundreds
of threads.

【在 c*********e 的大作中提到】
: Apache is a multi-threaded HTTP server。 但是,据说要真正的multi-thread,比如
: 要开5个thread,就要有5个cpu. 是这样的吗?

N********n
发帖数: 8363
4

无关,一个CPU照样MULTI-THREAD。如果这5个THREAD互相排斥锁资源,来5个
CPU也没用,还得串行。

【在 c*********e 的大作中提到】
: Apache is a multi-threaded HTTP server。 但是,据说要真正的multi-thread,比如
: 要开5个thread,就要有5个cpu. 是这样的吗?

1 (共1页)
进入Programming版参与讨论
相关主题
multithread app的design要注意哪些问题?python下的expect
一直没有很好理解thread join itself,哪位解惑一下 (转载)多线程编程前景如何?
写thread safe程序现在也是程序员必须要掌握的了吧有谁用TBB吗
一道多线程的面试题 (转载)why do we need to map user threads to kernel threads?
multi threading 还是 multi processingProblem of Thread by Prof. Lee大伙怎么看?
c++下如何实现多线程?一个multithread的问题(是不是有人觉的很简单?)
[合集] 怎么样提高自己的multi-thread programming能力?rand() in multitreading
thread, semaphore, 问题。thread c++ 问题
相关话题的讨论汇总
话题: thread话题: multi话题: 真正话题: cpu话题: apache