vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Big Board Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=172)
-   -   PHP optimization tips ? (https://vborg.vbsupport.ru/showthread.php?t=136776)

pr0team.net 01-17-2007 02:55 PM

PHP optimization tips ?
 
Hello,

Code:

last pid: 58790;  load averages:  2.38,  3.58,  4.14    up 1+21:13:01  16:53:47
83 processes:  1 running, 82 sleeping
CPU states: 79.3% user,  0.0% nice,  4.1% system,  0.4% interrupt, 16.2% idle
Mem: 327M Active, 1369M Inact, 198M Wired, 69M Cache, 112M Buf, 38M Free
Swap: 4069M Total, 268K Used, 4068M Free

  PID USERNAME  THR PRI NICE  SIZE    RES STATE    TIME    CPU COMMAND
58534 www        1  4    0 54256K 26408K accept  2:37  3.71% php-cgi
58618 www        1  4    0 54248K 26688K accept  1:51  3.27% php-cgi
57654 www        1  4    0 55640K 29828K accept  10:25  3.12% php-cgi
57695 www        1  4    0 55552K 29172K accept  10:11  2.44% php-cgi
58453 www        1  4    0 55500K 28508K accept  3:29  2.44% php-cgi
58302 www        1  4    0 53132K 25952K accept  5:12  2.39% php-cgi
58655 www        1  4    0 54240K 26276K accept  1:12  2.39% php-cgi
56881 www        1  4    0 55776K 30128K accept  15:04  2.34% php-cgi
58723 www        1  4    0 52872K 22956K accept  0:26  2.29% php-cgi
58776 www        1  4    0 55404K 24744K accept  0:07  2.29% php-cgi
56532 www        1  4    0 54236K 28752K accept  15:50  2.25% php-cgi
58691 www        1  4    0 55756K 27424K accept  0:51  2.20% php-cgi
57359 www        1  4    0 55904K 30360K accept  12:38  1.95% php-cgi
58480 www        1  4    0 55624K 27748K accept  3:12  1.90% php-cgi
56729 www        1  4    0 55500K 29760K accept  15:35  1.86% php-cgi
58077 www        1  4    0 55736K 29436K accept  6:42  1.81% php-cgi

^ 260 online effect!

I use zend (Encode scripts), eaccelerator, lighttd
In :
Freebsd
Dual xeon 2.6
2 gb ram

Any tips ?


All times are GMT. The time now is 05:52 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00951 seconds
  • Memory Usage 1,710KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete