Поделитесь идеями !
В общем так …
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2798.66-MHz 686-class CPU)
real memory = 536018944 (511 MB)
avail memory = 515121152 (491 MB)
ad4: 114473MB <Seagate ST3120026AS 3.05> at ata2-master SATA150
skc0: <3Com 3C940 Gigabit Ethernet> port 0xd800-0xd8ff mem 0xfe6ec000-0xfe6effff irq 22 at device 5.0 on pci2
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
rl0: <RealTek 8139 10/100BaseTX> port 0xd400-0xd4ff mem 0xfe6ebc00-0xfe6ebcff irq 23 at device 11.0 on pci2
mb Asus P4P800
3com смотрит в локалку и поднят на 100 мегабит, Realtek на ADSL модем. Что с rl, что с sk, средняя скорость с XP клиентами на отдачу около 4-8 мб/сек, на приём около 6-8. Сокрость линка дёргается как припадочная, особенно на отдачу , на клиентах между собой скорость стабильная- 10 мб/сек, даже на более слабых машинах (Celeron 766 на 815 + Realtek) (качество UTP, хаб тут не причём). Замеры производит как народными способами: скачивал, заливал файлы через ftp,samba при помощи far’a, totalcomander’a, так и измерял netio,
Код: Выделить всё
XP Cel2400 XP (s) - Sempron 2000 XP (c)
TCP connection established.
Packet size 1k bytes: 9326 KByte/s Tx, 10709 KByte/s Rx.
Packet size 2k bytes: 10983 KByte/s Tx, 10635 KByte/s Rx.
Packet size 4k bytes: 11287 KByte/s Tx, 10148 KByte/s Rx.
Packet size 8k bytes: 11275 KByte/s Tx, 10185 KByte/s Rx.
Packet size 16k bytes: 11259 KByte/s Tx, 10193 KByte/s Rx.
Packet size 32k bytes: 11372 KByte/s Tx, 10108 KByte/s Rx.
Done.
Sempron 2000 XP (s) - P4 2.8 FreeBSD (c)
TCP connection established.
Packet size 1k bytes: 8773 KByte/s Tx, 11478 KByte/s Rx.
Packet size 2k bytes: 8600 KByte/s Tx, 8939 KByte/s Rx.
Packet size 4k bytes: 6226 KByte/s Tx, 11026 KByte/s Rx.
Packet size 8k bytes: 7568 KByte/s Tx, 10663 KByte/s Rx.
Packet size 16k bytes: 6732 KByte/s Tx, 11064 KByte/s Rx.
Packet size 32k bytes: 11116 KByte/s Tx, 11533 KByte/s Rx.
Done.
1000 cel XP (s) - P4 2.8 FreeBSD (c)
TCP connection established.
Packet size 1k bytes: 11354 KByte/s Tx, 5230 KByte/s Rx.
Packet size 2k bytes: 6696 KByte/s Tx, 4901 KByte/s Rx.
Packet size 4k bytes: 7018 KByte/s Tx, 8320 KByte/s Rx.
Packet size 8k bytes: 3879 KByte/s Tx, 4965 KByte/s Rx.
Packet size 16k bytes: 5962 KByte/s Tx, 7342 KByte/s Rx.
Packet size 32k bytes: 11174 KByte/s Tx, 7727 KByte/s Rx.
Done.
1000 cel XP (s) - Sempron 2000 XP (c)
TCP connection established.
Packet size 1k bytes: 11032 KByte/s Tx, 10500 KByte/s Rx.
Packet size 2k bytes: 11016 KByte/s Tx, 11296 KByte/s Rx.
Packet size 4k bytes: 11263 KByte/s Tx, 11492 KByte/s Rx.
Packet size 8k bytes: 11276 KByte/s Tx, 11516 KByte/s Rx.
Packet size 16k bytes: 11250 KByte/s Tx, 11507 KByte/s Rx.
Packet size 32k bytes: 11372 KByte/s Tx, 11548 KByte/s Rx.
Done.
Код: Выделить всё
kern.maxfiles=32768
net.inet.tcp.delayed_ack=0
net.local.stream.recvspace=65535
net.local.stream.sendspace=65535
net.inet.tcp.sendspace=1048576
net.inet.tcp.recvspace=1048576
kern.ipc.somaxconn=2048
kern.ipc.maxsockbuf=16777216
Код: Выделить всё
machine i386
makeoptions KERNEL=cuter-global # Build kernel "foo" and install "/foo"
cpu I686_CPU
ident cuter-global
device acpi
maxusers 0
################################ Kernel Options
options PQ_MEDIUMCACHE # color for 256k cache
options INCLUDE_CONFIG_FILE # Include this file in kernel
options SCHED_4BSD # 4BSD scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT # Network Filesystem Client
options NFSSERVER # Network Filesystem Server
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_GPT # GUID Partition Tables.
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=500 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options ADAPTIVE_GIANT # Giant mutex is adaptive.
#################### Networking Options
# SMB/CIFS requester
# NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBICONV
# options.
# NETSMBCRYPTO enables support for encrypted passwords.
options LIBMCHAIN
options LIBICONV
options NETSMB #SMB/CIFS requester
options NETSMBCRYPTO #encrypted password support for SMB
options DEVICE_POLLING # support for mixed interrupt-polling
options HZ=2000 # qtity
options NETGRAPH # netgraph(4) system
options NETGRAPH_DEBUG
options NETGRAPH_ASYNC
options NETGRAPH_BPF
options NETGRAPH_BRIDGE
options NETGRAPH_CISCO
options NETGRAPH_DEVICE
options NETGRAPH_ECHO
options NETGRAPH_EIFACE
options NETGRAPH_ETHER
options NETGRAPH_FEC
options NETGRAPH_FRAME_RELAY
options NETGRAPH_GIF
options NETGRAPH_GIF_DEMUX
options NETGRAPH_HOLE
options NETGRAPH_IFACE
options NETGRAPH_IP_INPUT
options NETGRAPH_KSOCKET
options NETGRAPH_L2TP
options NETGRAPH_LMI
# MPPC compression requires proprietary files (not included)
#options NETGRAPH_MPPC_COMPRESSION
options NETGRAPH_MPPC_ENCRYPTION
options NETGRAPH_NETFLOW
options NETGRAPH_ONE2MANY
options NETGRAPH_PPP
options NETGRAPH_PPPOE
options NETGRAPH_PPTPGRE
options NETGRAPH_RFC1490
options NETGRAPH_SOCKET
options NETGRAPH_SPLIT
options NETGRAPH_SPPP
options NETGRAPH_TEE
options NETGRAPH_TTY
options NETGRAPH_UI
options NETGRAPH_VJC
options PPP_BSDCOMP #PPP BSD-compress support
options PPP_DEFLATE #PPP zlib/deflate/gzip support
options PPP_FILTER #enable bpf filtering (needs bpf)
options MROUTING # Multicast routing
options PIM # Protocol Independent Multicast
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #enable logging to syslogd(8)
options IPDIVERT #divert sockets
options IPFIREWALL_FORWARD
options DUMMYNET
#options IPFILTER #ipfilter support
#options IPFILTER_LOG #ipfilter logging
device apic # I/O APIC
# Bus support.
device pci
# Floppy drives
device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device ataraid # ATA RAID drives
device atapicd # ATAPI CDROM drives
options ATA_STATIC_ID # Static device numbering
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device ch # SCSI media changers
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)
device ses # SCSI Environmental Services (and SAF-TE)
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device kbdmux # keyboard multiplexer
device vga # VGA video card driver
device splash # Splash screen and screen saver support
options VESA
# syscons is the default console driver, resembling an SCO console
device sc
# Enable this for the pcvt (VT220 compatible) console driver
#device vt
#options XSERVER # support for X server on a vt console
#options FAT_CURSOR # start with block cursor
device agp # support several AGP chipsets
device drm # DRM core module required by DRM drivers
device radeondrm # ATI Radeon
# Power management support (see NOTES for more options)
device apm
device apm_saver # Requires APM
# Add suspend/resume support for the i8254.
device pmtimer
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
# Parallel port
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
#device vpo # Requires scbus and da
# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to the sio and/or ppc drivers):
#device puc
# PCI Ethernet NICs.
device ixgb # Intel PRO/10GbE Ethernet Card
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
device nve # nVidia nForce MCP on-board Ethernet Networking
device re # RealTek 8139C+/8169/8169S/8110S
device rl # RealTek 8129/8139
device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# 'device ed' requires 'device miibus'
device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards
#device ex # Intel EtherExpress Pro/10 and Pro/10+
#device ep # Etherlink III based cards
device lnc # NE2100, NE32-VL Lance Ethernet cards
device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet
# Wireless NIC cards
#device wlan # 802.11 support
#device wlan_wep # 802.11 WEP support
#device wlan_ccmp # 802.11 CCMP support
#device wlan_tkip # 802.11 TKIP support
#device an # Aironet 4500/4800 802.11 wireless NICs.
#device ath # Atheros pci/cardbus NIC's
#device ath_hal # Atheros HAL (Hardware Access Layer)
#device ath_rate_sample # SampleRate tx rate control for ath
#device awi # BayStack 660 and others
#device ral # Ralink Technology RT2500 wireless NICs.
#device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
#device wl # Older non 802.11 Wavelan wireless NIC.
# Pseudo devices.
device loop # Network loopback
device mem # Memory and kernel memory devices
device sppp # Generic Synchronous PPP
device vlan # VLAN support (needs miibus)
device io # I/O device
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device tap # Virtual Ethernet driver
device faith # IPv6-to-IPv4 relaying (translation)
device pf # PF OpenBSD packet-filter firewall
device pflog # logging support interface for PF
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
#device udbp # USB Double Bulk Pipe devices
device ugen # Generic
#device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
#device ural # Ralink Technology RT2500USB wireless NICs
#device urio # Diamond Rio 500 MP3 player
#device uscanner # Scanners
CPU: Intel Pentium III (994.46-MHz 686-class CPU)
real memory = 535756800 (510 MB)
avail memory = 514859008 (491 MB)
ad0: 238475MB <Seagate ST3250620A 3.AAE> at ata0-master UDMA66
re0: <RealTek 8169S Single-chip Gigabit Ethernet> port 0xc400-0xc4ff mem 0xe5001000-0xe50010ff irq 11 at device 2.0 on pci1
rl0: <RealTek 8139 10/100BaseTX> port 0xc000-0xc0ff mem 0xe5000000-0xe50000ff irq 10 at device 0.0 on pci1
mb. Какой то нонейм вроде Jamicon или Pcparthner на 815
re0 (поллинг включен) соединён в гигабит кросслинком с Athlon X2 4400 , Nvidia Ethernet Controller
Когда переезжал на другой винт – скорость по сети была около 13 мб/с, Сейчас около 6 мб/сек.
Хотя netio показывало
Код: Выделить всё
BSD server win Cient
TCP connection established.
Packet size 1k bytes: 30104 KByte/s Tx, 32693 KByte/s Rx.
Packet size 2k bytes: 26345 KByte/s Tx, 38125 KByte/s Rx.
Packet size 4k bytes: 9838 KByte/s Tx, 36654 KByte/s Rx.
Packet size 8k bytes: 8671 KByte/s Tx, 41421 KByte/s Rx.
Packet size 16k bytes: 21620 KByte/s Tx, 41529 KByte/s Rx.
Packet size 32k bytes: 29043 KByte/s Tx, 39646 KByte/s Rx.
Done.
BSD client Win Server
TCP connection established.
Packet size 1k bytes: 33990 KByte/s Tx, 24242 KByte/s Rx.
Packet size 2k bytes: 39868 KByte/s Tx, 9397 KByte/s Rx.
Packet size 4k bytes: 40287 KByte/s Tx, 7055 KByte/s Rx.
Packet size 8k bytes: 41112 KByte/s Tx, 9580 KByte/s Rx.
Packet size 16k bytes: 40997 KByte/s Tx, 3111 KByte/s Rx.
Packet size 32k bytes: 39988 KByte/s Tx, 2609 KByte/s Rx.
Done.
Код: Выделить всё
kern.maxfiles=32768
kern.ipc.nmbclusters=32768
net.inet.tcp.delayed_ack=0
kern.ipc.somaxconn=1024
net.local.stream.recvspace=131072
net.local.stream.sendspace=131072
net.inet.tcp.sendspace=65535
net.inet.tcp.recvspace=65535
На обоих файлопомойках ufs, softupdates включено, разделы с которыми работаю порядка 100 гигабайт.
В обоих случаях при копировании по сети нагрузка на систему небольшая, единственное уровень tps винта зашкаливает за сотню. Обе машины используются как файлопомойки, причём большая часть файлов приходит на винт через торрент клиенты с достаточно небольшой скоростью . Замечена тенденция, что при переливе другой винт система оживала. Посему я грешу на фрагментацию, но как известно современным файловым системам дефрагментация не нужна (а зря), но как ни странно фокус с дампом на другой винт помогает.
На обоих машинах была 6.2, в настоящее время 6.3.
Господа хорошие, прошу помочь советом в данной ситуации. Может я сильно многого хочу на данном железе?
Слышал, что плохой админ – который мучается из-за 5% производительности. Но результаты которые я получаю, очень далеки от 5 %. И собственно , что бесит наблюдаю в одной конторе FreeBSD 4.10-STABLE
Intel(R) Celeron(TM) CPU 1200MHz, На риалтеке 8139, 128 RAM, даёт чёстные 9,6-10 мб/с по сети.
P.S. Рассказы про то что Realtek – дешёвка , и нужно ставить интел , прошу оставить при себе, рядом стоящие машины показывают на этих же картах совсем другие числа. Да и Марвел не самый плохой чип…
P.S.S пересилил себя и ставлю на тестовую машину после 3-летнего перерыва Linux (Gentoo) буду мерять пиписьки там.