Squid high CPU usage.
Christos Triantafyllidis
ctria at physics.auth.gr
Mon Jun 6 13:10:45 EEST 2005
Christos Ricudis wrote:
> Alexandros Diamantidis wrote:
>
>> * Christos Ricudis <ricudis at komodino.itc.auth.gr> [2005-06-06 12:01]:
>>
>>
>>> Giati egw DEN xreiazetai na kserw PWS exei kanei build kai configure
>>> thn PHP, afou to <? echo "hello world" ?> douleyei.
>>>
>>
>>
>> Άσχετα με τα παράπονα του Γιώργου (που είναι βάσιμα), για το Gentoo δεν
>> υπάρχει τέτοιο πρόβλημα, αφού κατά 99,9% το build έχει γίνει στο
>> μηχάνημά σου κατά το "emerge php_mod" και μπορείς να δεις ακριβώς πώς
>> έγινε.
>> Βάζοντας στο /etc/portage/package.use τις επιλογές που θέλεις, μπορείς
>> να ρυθμίσεις ακριβώς πώς γίνεται το build κάθε φορά που αναβαθμίζεται η
>> PHP. Για παράδειγμα...
>>
>> dev-php/mod_php jpeg gd apache2 berkdb dba crypt ftp iconv imap ldap \
>> mime mysql nls pcre png readline sasl session shared simplexml \
>> soap sockets ssl tiff truetype xml2 xmlrpc xsl zlib
>>
>>
>
> To hksera oti kapoios 8a to pei ayto.
>
> DEN 8elw na kanw compile to sympan. Kai se kammia periptwsh den 8elw na
> kanw compile to sympan me -O87658757 --vomit-frame-pointer
> --march=august
> --funsupported-experimental-optimization-that-only-breaks-EMACS-as-far-as-we-know
> me ton GCC 4.5.3.1.2.3.2.3.6beta2pl45-gentoo652 epeidh "ayto dinei ena
> fobero kai tromero 30% performance improvement sto /bin/true". 8elw to
> sympan na einai prebuilt *swsta*, na *leitourgei* kai na exei perasei 87
> disekatommyria regression tests xwris na xtyphsei. To na psaksw na brw
> pws ekane build o package maintainer ena paketo kai na to kanw egw opws
> m'aresei, einai kati poy mporw na to kanw se *ka8e* distribution. Alla
> an xreiastei na ftasw mexri to shmeio na to kanw, shmainei oti kati den
> paei kala eks'arxhs.
>
Bre oso kai na fonazeis o "ios" eksaplonetai... se ligo tha se
perikyklosoun gentoo systimata.
Pera apo tin plaka tora. Osa mixanimata esteisa se gentoo doulevoun,
einai stable. DEN xrisimopoio unstable ekdoseis kai alloste to gentoo
apo mono tou exei masked megalo meros kai stable ekdoseon (p.x. to
openldap2.2.* einai akoma masked sto gentoo). Pragma se ypoxreonei an
thes na xrisimopoieis latests ekdoseis (kai pithanos unstable) na to
diloneis rita (sta configs).
O gcc 4.5.3.1.2.3.2.3.6beta2pl45-gentoo652 einai to idio unstable sto
gentoo oso kai sto debian. kai sta dyo mporeis na ton egkatastiseis.
giati to theoreis meionektima tou gentoo????
Oso gia to performance sto desktop pc mou exo dei diafora anamesa se
prebuild kai mi packeta (kyrios stis taxitites sto X, opengl klp) gia
servers xrisimopoio stage3 (precompiled base systima) kai kano compiles
mono updates - new packages poy egkathisto dioti den exei spoudaia
diafora. Alla outos i allos *leitourgei swsta* toso se prebuild oso kai
se mi prebuild systima. Kai den nomizo na eimai o monos tyxeros poy tou
doulevei sosta, oute theoro ton eayto mou toso kalo admin oste na min
afino perithoria lathous.
Telos sxetika me to pos egine compile to kathe ti nomizo oti ex' orismou
se gentoo systima ksereis kai mporeis poly eykola na breis. Ayta fysika
an xrisimopoieis sosta to portage (p.x. den peirazeis ta ebuilds sto
portage gia na kaneis customies alla ta kaneis copy kai peirazeis ta
antistixa sto portage_overlay).
PS: Den katalabaino giati oloi gineste kompleksikoi me to gentoo? den
sas aresei? balte openbsd, debian, solaris kai oti allo thelete. afiste
emas poy den kseroume akoma apo orima leitourgika na doulevoume se
unstable gentoo systimata.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1605 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.hellug.gr/pipermail/linux-greek-users/attachments/20050606/c53208c5/attachment.bin>
More information about the Linux-greek-users
mailing list