Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

为什么我的服务器这么慢呢!??请各位高手指教...

[复制链接]
netsky 发表于 2004-7-27 15:51:47 | 显示全部楼层 |阅读模式
系统主要信息主机名称 host.xxxx.com
主机对外IP 192.168.0.250
内核版本 FreeBSD 5.2.1-RELEASE-p9 #0 Tue Jul 27 02:05
Distro Name  FreeBSD
开机时间 6 分钟
在线使用者 1
平均负载 0.00 0.07 0.05


硬件信息处理器数量 4
CPU型号 Intel(R) Xeon(TM) CPU 2.40GHz
芯片速度 2405 MHz
PCI设备 agp0: Intel 82875P host to AGP bridge
atapci0: Promise PDC20378 SATA150 controller
atapci1: Intel ICH5 UDMA100 controller
fxp0: Intel 82550 Pro/100 Ethernet
isab0: PCI-ISA bridge
pcib1: PCI-PCI bridge
pcib2: ACPI PCI-PCI bridge

IDE设备 ad0: HDS722580VLAT20 (容量: 80.45 GB)
ad1: HDS722580VLAT20 (容量: 80.45 GB)

dmesg


  1. Copyright (c) 1992-2004 The FreeBSD Project.
  2. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  3.        The Regents of the University of California. All rights reserved.
  4. FreeBSD 5.2.1-RELEASE-p9 #0: Tue Jul 27 02:05:54 CST 2004
  5.    lt2-446@host.guose.com:/usr/obj/usr/src/sys/MYKERNEL
  6. Preloaded elf kernel "/boot/kernel/kernel" at 0xc075e000.
  7. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc075e21c.
  8. ACPI APIC Table: <IntelR AWRDACPI>
  9. Timecounter "i8254" frequency 1193182 Hz quality 0
  10. CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2405.47-MHz 686-class CPU)
  11. Origin = "GenuineIntel"  Id = 0xf25  Stepping = 5
  12. Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  13. Hyperthreading: 2 logical CPUs
  14. real memory  = 2146304000 (2046 MB)
  15. avail memory = 2084446208 (1987 MB)
  16. FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
  17. cpu0 (BSP): APIC ID:  0
  18. cpu1 (AP): APIC ID:  1
  19. cpu2 (AP): APIC ID:  6
  20. cpu3 (AP): APIC ID:  7
  21. ioapic0: Changing APIC ID to 4
  22. ioapic0 <Version 2.0> irqs 0-23 on motherboard
  23. Pentium Pro MTRR support enabled
  24. npx0: [FAST]
  25. npx0: <math processor> on motherboard
  26. npx0: INT 16 interface
  27. acpi0: <IntelR AWRDACPI> on motherboard
  28. pcibios: BIOS version 2.10
  29. Using $PIR table, 11 entries at 0xc00fde60
  30. acpi0: Power Button (fixed)
  31. Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
  32. acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
  33. acpi_cpu0: <CPU> on acpi0
  34. acpi_cpu1: <CPU> on acpi0
  35. acpi_cpu2: <CPU> on acpi0
  36. acpi_cpu3: <CPU> on acpi0
  37. acpi_tz0: <Thermal Zone> on acpi0
  38. acpi_button0: <Power Button> on acpi0
  39. acpi_button1: <Sleep Button> on acpi0
  40. pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
  41. pci0: <ACPI PCI bus> on pcib0
  42. agp0: <Intel 82875P host to AGP bridge> mem 0xf0000000-0xf7ffffff at device 0.0 on pci0
  43. pcib1: <PCI-PCI bridge> at device 1.0 on pci0
  44. pci1: <PCI bus> on pcib1
  45. pcib1: slot 0 INTA is routed to irq 16
  46. pci1: <display, VGA> at device 0.0 (no driver attached)
  47. pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
  48. pci2: <ACPI PCI bus> on pcib2
  49. atapci0: <Promise PDC20378 SATA150 controller> port 0xb800-0xb87f,0xb400-0xb40f,0xb000-0xb03f mem 0xfb020000-0xfb03ffff,0xfb040000-0xfb040fff irq 23 at device 4.0 on pci2
  50. atapci0: [MPSAFE]
  51. ata2: at 0xfb040000 on atapci0
  52. ata2: [MPSAFE]
  53. ata3: at 0xfb040000 on atapci0
  54. ata3: [MPSAFE]
  55. ata4: at 0xfb040000 on atapci0
  56. ata4: [MPSAFE]
  57. fxp0: <Intel 82550 Pro/100 Ethernet> port 0xbc00-0xbc3f mem 0xfb000000-0xfb01ffff,0xfb041000-0xfb041fff irq 21 at device 9.0 on pci2
  58. fxp0: Ethernet address 00:02:b3:ea:7e:4d
  59. miibus0: <MII bus> on fxp0
  60. inphy0: <i82555 10/100 media interface> on miibus0
  61. inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
  62. isab0: <PCI-ISA bridge> at device 31.0 on pci0
  63. isa0: <ISA bus> on isab0
  64. atapci1: <Intel ICH5 UDMA100 controller> port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
  65. ata0: at 0x1f0 irq 14 on atapci1
  66. ata0: [MPSAFE]
  67. ata1: at 0x170 irq 15 on atapci1
  68. ata1: [MPSAFE]
  69. pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
  70. orm0: <Option ROMs> at iomem 0xd0000-0xd17ff,0xc0000-0xcffff on isa0
  71. atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
  72. ppc0: parallel port not found.
  73. sc0: <System console> at flags 0x100 on isa0
  74. sc0: VGA <16 virtual consoles, flags=0x300>
  75. vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
  76. Timecounters tick every 10.000 msec
  77. GEOM: create disk ad0 dp=0xc4c74060
  78. ad0: 78533MB <HDS722580VLAT20> [159560/16/63] at ata0-master UDMA100
  79. GEOM: create disk ad1 dp=0xc4c3de60
  80. ad1: 78533MB <HDS722580VLAT20> [159560/16/63] at ata0-slave UDMA100
  81. SMP: AP CPU #1 Launched!
  82. SMP: AP CPU #2 Launched!
  83. SMP: AP CPU #3 Launched!
  84. Mounting root from ufs:/dev/ad0s1a
复制代码



内核文件


  1. #
  2. # GENERIC -- Generic kernel configuration file for FreeBSD/i386
  3. #
  4. # For more information on this file, please read the handbook section on
  5. # Kernel Configuration Files:
  6. #
  7. #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-conf
  8. ig.html
  9. #
  10. # The handbook is also available locally in /usr/share/doc/handbook
  11. # if you've installed the doc distribution, otherwise always see the
  12. # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
  13. # latest information.
  14. #
  15. # An exhaustive list of options and more detailed explanations of the
  16. # device lines is also present in the ../../conf/NOTES and NOTES files.
  17. # If you are in doubt as to the purpose or necessity of a line, check first
  18. #
  19. # GENERIC -- Generic kernel configuration file for FreeBSD/i386
  20. #
  21. # For more information on this file, please read the handbook section on
  22. # in NOTES.
  23. #
  24. # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.394.2.3 2004/01/26 19:42:11 nectar Exp
  25. $

  26. machine         i386
  27. cpu             I686_CPU
  28. ident           MYKERNEL
  29. maxusers        64

  30. #To statically compile in device wiring instead of /boot/device.hints
  31. #hints          "GENERIC.hints"         #Default places to look for devices.

  32. #makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug symbols

  33. options         SCHED_4BSD              #4BSD scheduler
  34. options         INET                    #InterNETworking
  35. options         FFS                     #Berkeley Fast Filesystem
  36. options         SOFTUPDATES             #Enable FFS soft updates support
  37. options         UFS_ACL                 #Support for access control lists
  38. options         UFS_DIRHASH             #Improve performance on big directories
  39. options         MD_ROOT                 #MD is a potential root device
  40. options         NFSCLIENT               #Network Filesystem Client
  41. options         MSDOSFS                 #MSDOS Filesystem
  42. options         PROCFS                  #Process filesystem (requires PSEUDOFS)
  43. options         PSEUDOFS                #Pseudo-filesystem framework
  44. options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
  45. options         COMPAT_FREEBSD4         #Compatible with FreeBSD4
  46. options         KTRACE                  #ktrace(1) support
  47. options         SYSVSHM                 #SYSV-style shared memory
  48. options         SYSVMSG                 #SYSV-style message queues
  49. options         SYSVSEM                 #SYSV-style semaphores
  50. options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
  51. options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
  52. options         AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
  53.                                         # output.  Adds ~128k to driver.
  54. options         AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
  55.                                         # output.  Adds ~215k to driver.
  56. options         PFIL_HOOKS              # pfil(9) framework

  57. # Debugging for use in -current
  58. #options        DDB                     #Enable the kernel debugger
  59. #options        INVARIANTS              #Enable calls of extra sanity checking
  60. options         INVARIANT_SUPPORT       #Extra sanity checks of internal structu
  61. res, required by INVARIANTS
  62. #options        WITNESS                 #Enable checks to detect deadlocks and c
  63. ycles
  64. #options        WITNESS_SKIPSPIN        #Don't run witness on spinlocks for spee
  65. d

  66. # To make an SMP kernel, the next two are needed
  67. options         SMP                     # Symmetric MultiProcessor Kernel
  68. device          apic                    # I/O APIC

  69. device          isa
  70. device          eisa
  71. device          pci

  72. # ATA and ATAPI devices
  73. device          ata
  74. device          atadisk                 # ATA disk drives
  75. device          atapicd                 # ATAPI CDROM drives
  76. options         ATA_STATIC_ID           #Static device numbering

  77. # atkbdc0 controls both the keyboard and the PS/2 mouse
  78. device          atkbdc          # AT keyboard controller
  79. device          atkbd           # AT keyboard
  80. device          psm             # PS/2 mouse

  81. device          vga             # VGA video card driver

  82. device          splash          # Splash screen and screen saver support

  83. #options        INVARIANTS              #Enable calls of extra sanity checking
  84. options         INVARIANT_SUPPORT       #Extra sanity checks of internal structu
  85. res, required by INVARIANTS
  86. #options        WITNESS                 #Enable checks to detect deadlocks and c
  87. ycles
  88. #options        WITNESS_SKIPSPIN        #Don't run witness on spinlocks for spee
  89. d

  90. # To make an SMP kernel, the next two are needed
  91. options         SMP                     # Symmetric MultiProcessor Kernel
  92. device          apic                    # I/O APIC

  93. device          isa
  94. device          eisa
  95. device          pci

  96. # ATA and ATAPI devices
  97. device          ata
  98. device          atadisk                 # ATA disk drives
  99. device          atapicd                 # ATAPI CDROM drives
  100. options         ATA_STATIC_ID           #Static device numbering

  101. # atkbdc0 controls both the keyboard and the PS/2 mouse
  102. device          atkbdc          # AT keyboard controller
  103. device          atkbd           # AT keyboard
  104. device          psm             # PS/2 mouse

  105. device          vga             # VGA video card driver

  106. device          splash          # Splash screen and screen saver support

  107. # syscons is the default console driver, resembling an SCO console
  108. device          sc

  109. device          agp             # support several AGP chipsets

  110. # Floating point support - do not disable.
  111. device          npx

  112. #device         pcic                    # ExCA ISA and PCI bridges
  113. device          pccard                  # PC Card (16-bit) bus
  114. device          cardbus                 # CardBus (32-bit) bus


  115. # Parallel port
  116. device          ppc
  117. device          ppbus           # Parallel port bus (required)
  118. device          plip            # TCP/IP over parallel
  119. device          ppi             # Parallel port interface device
  120. #device         vpo             # Requires scbus and da

  121. # If you've got a "dumb" serial or parallel PCI card that is
  122. # supported by the puc(4) glue driver, uncomment the following
  123. # line to enable it (connects to the sio and/or ppc drivers):
  124. #device         puc

  125. # PCI Ethernet NICs.
  126. device          de              # DEC/Intel DC21x4x (``Tulip'')
  127. device          em              # Intel PRO/1000 adapter Gigabit Ethernet Card

  128. # PCI Ethernet NICs that use the common MII bus controller code.
  129. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
  130. device          miibus          # MII bus support
  131. device          dc              # DEC/Intel 21143 and various workalikes
  132. device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)

  133. # Pseudo devices - the number indicates how many units to allocate.
  134. device          random          # Entropy device
  135. device          loop            # Network loopback
  136. device          ether           # Ethernet support
  137. device          sl              # Kernel SLIP
  138. device          pty             # Pseudo-ttys (telnet etc)
  139. device          md              # Memory "disks"

  140. # The `bpf' device enables the Berkeley Packet Filter.
  141. # Be aware of the administrative consequences of enabling this!
  142. device          bpf             # Berkeley packet filter

  143. # FireWire support
  144. device          firewire        # FireWire bus code
  145. device          fwe             # Ethernet over FireWire (non-standard!)
复制代码


用来做WEB服务器,提供PHP MYSQL CGI QMAIL CPANEL 服务还需要优化那些地方呢?请指教...

多次的测试结果:


  1. 整数运算能力测试(1+1运算300万次)  
  2. Tahiti 的电脑(P4 1.7G 256M WinXP) 1.421秒
  3. PIPNI免费空间(2004/06/28 02:08) 2.545秒
  4. 神话科技风CGI型(2004/06/28 02:03) 0.797秒
  5. 您正在使用的这台服务器   1.189秒
  6. 浮点运算能力测试(开平方300万次)  
  7. Tahiti 的电脑(P4 1.7G 256M WinXP) 1.358秒
  8. PIPNI免费空间(2004/06/28 02:08) 2.648秒
  9. 神话科技风CGI型(2004/06/28 02:03) 0.729秒
  10. 您正在使用的这台服务器   1.191秒
  11. 数据I/O能力测试(读取10K文件10000次)  
  12. Tahiti 的电脑(P4 1.7G 256M WinXP) 0.177秒
  13. PIPNI免费空间(2004/06/28 02:08) 0.171秒
  14. 神话科技风CGI型(2004/06/28 02:03) 0.156秒
  15. 您正在使用的这台服务器   0.23秒
复制代码
cqfanli 发表于 2004-7-27 16:42:15 | 显示全部楼层
什麼都看不出來呀
回复

使用道具 举报

CyrixIII 发表于 2004-7-27 16:46:30 | 显示全部楼层
你是说你的服务器什么慢呢 ?
回复

使用道具 举报

c2c3 发表于 2004-7-31 19:50:42 | 显示全部楼层
系统问题  
回复

使用道具 举报

UP.Linux 发表于 2004-7-31 22:58:58 | 显示全部楼层
系统问题?什么系统问题?

楼主没说什么慢啊.
回复

使用道具 举报

小欢子 发表于 2004-8-7 02:09:32 | 显示全部楼层
怎么慢法啊?这台主机不错啊,kernel编译也可以啊。
回复

使用道具 举报

AC333 发表于 2004-8-12 08:59:42 | 显示全部楼层
看不出慢的理由
回复

使用道具 举报

liujing371 发表于 2004-8-14 05:48:13 | 显示全部楼层
一点看不到慢的迹象,系统看不出来问题,看到你的对比,你比某些慢是你的硬件不如别人吧。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-12-23 06:37 , Processed in 0.025442 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表