<html><head></head><body><div class="ydpdca2cda4yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><span><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">Buna ziua</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">Intr-o foaie de examen se pune problema utilizarii semafoarelor UNIX peste handleruri de semnale UNIX.</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">Nu
agreez modelul de I/O bazat pe semnale (unul din cele 5 modele UNIX de
I/O, vezi UNIX/Stevens/Teer/Solaris/Kernighan - UNIX), dar in locul lor
indic in loc de semnale multiple indicatii pe un named pipes.
(IPC/FS/UNIX).</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">De ce nu agreez ? Fiindca in historica, semnalele erau rare, HZurile erau mici, accesele erau putine. Intre timp,</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">s-a
inventat nanosleep()-ul si alte minunatii 10 at power (-9), 10 at power
(-12), EXCLUSIV pe platforma linux kernel, sustinut de MIT/GCC/GLIBC,
sistem Linux pe care il vad, simt, consider ca imatur, incoeziv si FARA
STRUCTURA DE SISTEM DE OPERARE !!!! precum System V, Sun 4, Solaris 5,
UNIX-urile mature, productive si comerciale, si chiar elemente de
Berkeley Unix.</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">Sa
presupunem ca consideram constructia unui web server, pe principii
mature si clare. (Ideatica martiala/securitate/performanta).</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">In loc sa fac 10, 10, 10, 10, 10 ... 10 x 5 accese la o arhiva web de 10 MB/GB,</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">deci in loc sa fac 500/512 de accese,</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">mai bine fac 1000/1024 de accese la "plinirea vremii", cand contorul up() al semaforului urca pana la maxim !</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">Deci fac "blow-ul" pe multifd(), multifd fiind multiplexarea conceptului de file/network file descriptor,</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">EXACT CAND SE UMPLE PAHARUL !!!</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">Nu fac putin si la fiecare,</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">ci fac TOTUL LA TOATE, fie ca o scriu ca stl vector<nfd> cu typedef nfd</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">fie ca o fac ca multifd() / UNIX cu acces scriere prin cod sursa kernel.</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">Despre largimea benzii IO pe retea, si alte chestiuni externe, placi, performanta, device drivere interne/externe,</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">Linux / FreeBSD, FaceBook/FreeBSD network/memory/etc performance stack, c10k / m10k problems, WhatsApp</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">performance de la 1.5 mill nfd la 2.5/3 mill nfs connexiuni SIMULTANE (vezi de ce exista SCTP, iar NU MP TCP),</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">cu alta ocazie.</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">Cu respect,</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">WarmWildWolf , aka Alexandru Goia</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">m0ft / omega software / cis/ics / rack * / uni'x school (unifficial)</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">2019 January</div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div><div class="ydp1c599f5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></div>Long Live UNIX !</span></div></body></html>