| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
尤其是G题,太强了。In Reply To:D的图 用IE看 Posted by:sharang at 2007-10-07 13:40:10 In the parallel network server, Process pool often been used to avoid the cost of system from create and delete a Process. It work as this: The server create some processes, all the processes accepted to get jucture, because there are no request, all the processes sleep. When n request come, all the processes will be waken up, but only n processes will response this request, other processes sleep again, this phenomenon is called "Stampeding". This phenomenon bring a problem: because there are so many processes wake up at the same time, it needs more cost of system to schedule these processes. At the same time, if the processes in the process pool is too few to the number of request, additional processes should be created, and this needs much cost of system. So it need to control the num of processes in the process pool, if it small than a number then some process should be created, and if it large than a number then some processes should be deleted.-_- Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator