Results 1 to 22 of 22
  1. #1
    Join Date
    Jul 2004
    Posts
    868

    * Why dual opteron 244 is slower than dual xeon 2.4 ??

    Hi,
    i have a server that i am running only a perl script in it !
    and my server had following hardwares :

    Dual Xeon 2.4 HTT
    Ram 4GB
    Centos 3.4

    and with dual xeon (htt enabled 4cpus) my server load was alwayes under 1 ! and maximum 2

    and yesterday my dc upgraded my server to dual opteron 244 with 8gb ram and now my MINIMUM server load is 2 !

    why ?

  2. #2
    Join Date
    May 2003
    Posts
    1,664
    You need to optimize your server, the Opteron will outperform the Xeon.

  3. #3
    Join Date
    Jul 2004
    Posts
    868
    okey tell me what i shoud do ?
    what you mean be optimizing ?

  4. #4
    Join Date
    Feb 2003
    Location
    Kuala Lumpur, Malaysia
    Posts
    4,974
    Hire someone to optimize your server, it's near to impossible a 2.4 xeon outperforms opteron.

  5. #5
    Join Date
    Jun 2003
    Location
    UK
    Posts
    6,601
    The only thing I can think is that the disks are pulling the speed down but it should totally thrash it

    Rus
    Russ Foster - Industry Curmudgeon

  6. #6
    Join Date
    Jul 2002
    Posts
    1,441
    Are you running Centos 3.4 x86_64 ? Also, are you running IDE or SATA?
    Synergy Blue LLC
    SonataWeb.net | SynergyBlue.com
    USA should so something about: http://www.brillig.com/debt_clock/

  7. #7
    Join Date
    Jul 2004
    Posts
    868
    >VapoRub
    now i am running Centos 3.4 32 bit
    IO_wait 0% !

    >UltraUnixNET
    what you mean by saying i need some one to optimize my server ? i hade a lower cpu and cpu load was low ! and now i have a better cpu and cpu load is higher ! ( with same configuration) !

  8. #8
    Join Date
    Jul 2002
    Posts
    1,441
    You should really run 64bit.

    Type the following and paste them here for help during high load:

    Top

    Free

    ps -aux
    Synergy Blue LLC
    SonataWeb.net | SynergyBlue.com
    USA should so something about: http://www.brillig.com/debt_clock/

  9. #9
    Join Date
    Jul 2004
    Posts
    868
    23:55:28 up 12:05, 1 user, load average: 11.56, 2.92, 1.53
    638 processes: 636 sleeping, 1 running, 1 zombie, 0 stopped
    CPU states: cpu user nice system irq softirq iowait idle
    total 22.4% 0.0% 3.6% 2.1% 2.2% 0.0% 69.5%
    cpu00 22.9% 0.0% 3.7% 4.2% 4.5% 0.0% 64.4%
    cpu01 21.9% 0.0% 3.4% 0.0% 0.0% 0.0% 74.5%
    Mem: 8170364k av, 4531928k used, 3638436k free, 0k shrd, 63032k buff
    4249324k active, 116024k inactive
    Swap: 1052248k av, 0k used, 1052248k free 368496k cached

    PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
    32496 nobody 15 0 13740 13M 4520 S 0.9 0.1 0:19 0 httpd
    32741 nobody 15 0 13400 13M 4560 S 0.9 0.1 0:16 1 httpd
    20429 root 16 0 1600 1600 820 R 0.6 0.0 0:09 1 top
    32400 nobody 15 0 13896 13M 4560 S 0.4 0.1 0:18 1 httpd
    32618 nobody 15 0 13984 13M 4556 S 0.4 0.1 0:16 1 httpd
    32696 nobody 15 0 13552 13M 4516 S 0.4 0.1 0:17 1 httpd
    32717 nobody 16 0 13132 12M 4540 S 0.4 0.1 0:17 1 httpd
    14908 nobody 15 0 12508 12M 4536 S 0.4 0.1 0:04 1 httpd
    17672 nobody 15 0 13816 13M 4528 S 0.4 0.1 0:02 1 httpd
    20862 nobody 15 0 11012 10M 4360 S 0.4 0.1 0:00 0 httpd
    5024 root 16 0 6192 6192 4028 S 0.2 0.0 0:16 0 httpd
    32368 nobody 15 0 12604 12M 4568 S 0.2 0.1 0:21 1 httpd
    32372 nobody 15 0 13420 13M 4588 S 0.2 0.1 0:20 0 httpd
    32377 nobody 15 0 13564 13M 4632 S 0.2 0.1 0:18 0 httpd
    32390 nobody 15 0 13572 13M 5068 S 0.2 0.1 0:18 0 httpd
    32406 nobody 15 0 13456 13M 4520 S 0.2 0.1 0:16 0 httpd
    32407 nobody 15 0 13836 13M 4532 S 0.2 0.1 0:16 0 httpd
    32454 nobody 15 0 13736 13M 4576 S 0.2 0.1 0:18 0 httpd
    32458 nobody 15 0 15852 15M 4636 S 0.2 0.1 0:16 1 httpd
    32466 nobody 15 0 13436 13M 4608 S 0.2 0.1 0:17 1 httpd
    32473 nobody 15 0 14568 14M 4544 S 0.2 0.1 0:18 1 httpd
    32493 nobody 15 0 15216 14M 4532 S 0.2 0.1 0:22 0 httpd
    32498 nobody 15 0 14576 14M 4560 S 0.2 0.1 0:15 1 httpd
    32516 nobody 16 0 13416 13M 4624 S 0.2 0.1 0:19 1 httpd
    32539 nobody 15 0 14252 13M 4624 S 0.2 0.1 0:17 1 httpd
    32546 nobody 15 0 13696 13M 4516 S 0.2 0.1 0:19 1 httpd
    32560 nobody 15 0 14656 14M 4632 S 0.2 0.1 0:15 1 httpd
    32582 nobody 15 0 15116 14M 4560 S 0.2 0.1 0:20 0 httpd
    32594 nobody 15 0 13516 13M 4544 S 0.2 0.1 0:22 0 httpd
    32610 nobody 15 0 13712 13M 4736 S 0.2 0.1 0:17 1 httpd
    32642 nobody 15 0 13192 12M 4516 S 0.2 0.1 0:17 1 httpd
    32669 nobody 15 0 13004 12M 4548 S 0.2 0.1 0:15 0 httpd
    32706 nobody 15 0 13500 13M 4584 S 0.2 0.1 0:18 1 httpd


    [email protected] [~]# free
    total used free shared buffers cached
    Mem: 8170364 4499816 3670548 0 63040 368504
    -/+ buffers/cache: 4068272 4102092
    Swap: 1052248 0 1052248
    Attached Files Attached Files

  10. #10
    Join Date
    Jul 2002
    Posts
    1,441
    Can you do

    netstat | grep syn

    and

    cd /tmp then ls -lah

    list them here
    Synergy Blue LLC
    SonataWeb.net | SynergyBlue.com
    USA should so something about: http://www.brillig.com/debt_clock/

  11. #11
    Join Date
    Jul 2002
    Posts
    1,441
    that is a awful alot of apache processes running.
    Synergy Blue LLC
    SonataWeb.net | SynergyBlue.com
    USA should so something about: http://www.brillig.com/debt_clock/

  12. #12
    Join Date
    Jul 2004
    Posts
    868
    [email protected] [/tmp]# ls -lah
    total 676K
    drwxrwxrwt 4 root root 656K May 20 00:09 ./
    drwxr-xr-x 20 root root 4.0K May 20 00:07 ../
    drwxrwxrwt 2 xfs xfs 4.0K May 20 2005 .font-unix/
    drwxrwxrwt 2 root root 4.0K May 20 2005 .ICE-unix/
    -rw-r--r-- 1 root root 331 May 20 00:09 MAIL-HOST
    lrwxrwxrwx 1 root root 27 May 19 12:01 mysql.sock -> ../var/lib/mysql/mysql.sock=
    and netstat | grep syn is not working for me , this is about 5 minutes that i am waiting but still nothing ,

  13. #13
    Join Date
    Jul 2004
    Posts
    868
    result after 10 minutes


    [email protected] [/]# netstat | grep syn
    warning, got bogus tcp line.

  14. #14
    Join Date
    Jul 2002
    Posts
    1,441
    that is very suspicous.

    run rkhunter (install it and run it if you dont have it).

    Also do you have a firewall installed?
    Synergy Blue LLC
    SonataWeb.net | SynergyBlue.com
    USA should so something about: http://www.brillig.com/debt_clock/

  15. #15
    Join Date
    Jul 2002
    Posts
    1,441
    [email protected] [/tmp]# ls -lah
    total 676K
    drwxrwxrwt 4 root root 656K May 20 00:09 ./
    drwxr-xr-x 20 root root 4.0K May 20 00:07 ../
    drwxrwxrwt 2 xfs xfs 4.0K May 20 2005 .font-unix/
    drwxrwxrwt 2 root root 4.0K May 20 2005 .ICE-unix/
    -rw-r--r-- 1 root root 331 May 20 00:09 MAIL-HOST
    lrwxrwxrwx 1 root root 27 May 19 12:01 mysql.sock -> ../var/lib/mysql/mysql.sock=

    Above is also suspicious too because if you are running a very busy dynamic site. Unless you dont use sessions, there should be alot of them in the /tmp folder.
    Synergy Blue LLC
    SonataWeb.net | SynergyBlue.com
    USA should so something about: http://www.brillig.com/debt_clock/

  16. #16
    Join Date
    Jul 2002
    Posts
    1,441
    did you secure ur /tmp directory?

    to find out go to

    cd /tmp

    pico test.php

    <?php
    $txt="Hello World";
    echo $txt;
    ?>

    save and exit

    chmod +x test.php

    ./test.php (you should get permission denied).
    Synergy Blue LLC
    SonataWeb.net | SynergyBlue.com
    USA should so something about: http://www.brillig.com/debt_clock/

  17. #17
    Join Date
    Mar 2004
    Location
    New York City
    Posts
    995
    Also, you should check to make sure you installed a 64bit variety of your OS and have installed the 64bit versions of MySQL and Apache. You'll see considerable speed improvement specifically in MySQL.

    Sam
    Sam Machiz / Director, Product Development / Ubersmith
    smachiz[at]ubersmith.com / [direct] 212-812-4194

  18. #18
    Join Date
    Jul 2004
    Posts
    868
    >VapoRub

    thanks for replaying ,

    this perl script is not useing session AND this is not a shared hosting , do i need to secure /tmp ?


    now i am thinking to upgrade my os from 3.4 32 bit to centos 4 64bit , but i am worried

    please recommend that can i do to have 64bit os in stable mode ?

  19. #19
    Join Date
    Mar 2004
    Location
    New York City
    Posts
    995
    Did they change your system architecture without reinstalling your OS? You should definitely get a reinstall with a 64bit flavor.

    As long as you're not running CPanel, it should be just as stable as 32bit mode.

    Sam
    Sam Machiz / Director, Product Development / Ubersmith
    smachiz[at]ubersmith.com / [direct] 212-812-4194

  20. #20
    Join Date
    Jul 2002
    Posts
    1,441
    try the following

    shutdown -r now

    when the server comes back up:

    uptime (check load)
    who (make sure ur the only one connected)
    top (see if tons of apache procs are there)
    rkhunter (install and run to check for rootkits)
    netstat


    Actually submit a support ticket to your dedicated server provider.

    If else fail, backup and reimage it to a 64 bit version.
    Synergy Blue LLC
    SonataWeb.net | SynergyBlue.com
    USA should so something about: http://www.brillig.com/debt_clock/

  21. #21
    Join Date
    Feb 2002
    Location
    New York, NY
    Posts
    4,612
    Originally posted by artin1982
    >please recommend that can i do to have 64bit os in stable mode ?
    Stable mode? It should be just as stable, if not more stable, in 64-bit mode.
    Scott Burns, President
    BQ Internet Corporation
    Remote Rsync and FTP backup solutions
    *** http://www.bqbackup.com/ ***

  22. #22
    Join Date
    Aug 2004
    Posts
    371
    The problem he has is this:
    the host upgraded the server to opteron and 8GB ram, and then installed the old hard drive for a 32 bit xeon.
    It's good actually opteron is so compatible that it runs...but this is very inefficient
    1) basically the opteron is now running as a 386, not optimized as opteron 64
    2) 386 has only 32 bit so ram max is 4GB, to handle 8GB the chip has to use PAE to shuffle segments around a lot.

    I am not familiar with cpanel and its operation under 64 bits, you guys can help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •