Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: Otnosno lekciqta za http serverite


  • Subject: Re: lug-bg: Otnosno lekciqta za http serverite
  • From: vasil@xxxxxxxxxxx (Vasil Kolev)
  • Date: Thu, 17 May 2001 18:21:32 +0300 (EEST)



Kolkoto i da e burzo forkvaneto, to thread-vaneto ti garantiram che e
po-burzo :) Realen sluchaj - Apache i aolserver , ediniq e perforked,
drugiq - perthreaded, razlikata v load-a na mashinata e 10 puti ( t.e.
load 3 pri apache, load 0.3 pri aolserver). Da kazhem che aolservera e
pisan malko po-chisto, no 10 puti razlika ne mozhe da se poluchi samo ot
po-chisto pisane :)

On Thu, 17 May 2001, Petko Boukov wrote:

> Ne sym chul vyprosnata lekciq, no tova koeto cheta tuk ne e pravilno.
> To e validno po princip za *nix, no ne i za Linux. Linux kernel-yt
> se gordee s dosta byrzo fork-vane na procesi, ponezhe polzva t.nar.
> copy-on-write ili copy-on-demand, pri koeto procesyt raboti kato
> thread, dokato ne izvyrshi pisane (promqna) nqkyde v pametta. Chak
> togava kernel-yt kopira roditelskata pamet. Eto kakvo dava
> 'man 2 fork':
> 
> Under Linux, fork is implemented using copy-on-write pages, so the
> only penalty incurred by fork is the time and  memory required
> to duplicate the parent's page tables, and to create a unique task
> structure for the child.
> 
> Ako nqkoj iska po-zadylbocheno opisanie na realizaciqta na thread-ove
> i procesi, mozhe da pogledne tuk:
> http://www.kernel.org/pub/linux/docs/LDP/LDP/lki/lki-2.html#ss2.2
> 
> Petko
> 
> 

===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.