Moinsen
Ich weiß, es ist schon spät... Aber nachdem meine HDD komische Geräusche gemacht hat, dachte ich mir, dass ich mal ein paar Daten sichern sollte...
Server:
http://www.nethands.de/pys/show.php4?user=clatrix2
Client:
http://www.nethands.de/pys/show.php4?user=clatrix
Vernetzt sind die via "CompuShack DUALline8DT" 10/100er Switch, an der noch nen Laptop und der Router hängen, die aber keinen Traffic verursachen..
Das Problem ist, dass die Datenübertragungsrate sehr stark schwankt.. Ich würde mich mit 7 MByte die Sekunde zufrieden geben, bin kein crack, der 9 braucht.. Via FTP dümpelt der so im Upload bei 3-4 MByte/s rum, der Arbeitsspeicher von dem Server ist ja auch recht schnell vollgeknallt. Ach ja.. Bei SAMBA präsentiert er mir transferraten von 190 KByte/s bis 6 MByte/s. Die Übertragung läuft sehr hakelig.
Komisch ist nur, dass ich festgestellt habe mit dem mii-tool, dass die Intel-Karte nur auf Half Duplex läuft.. Und jetzt kommt der Bringer, wenn ich das Ding mit
|
Quellcode
|
1
|
mii-tool -F 100baseTX-FD
|
laufen lasse, was passiert? Richtig.. 169 KByte/s... Ich übertrage die Daten vom Client zu Server.. Andersherum sieht das aber auch nicht besser aus.. Schreibe da ausschließlich auf die IDE Platte, da ist natürlich der UDMA5 eingeschaltet.. Mit UDMA2 siehts auch nicht besser aus..
Wa mich ein bisschen gewundert hat ist, dass wenn ich
|
Quellcode
|
1
|
dmesg | grep eth0
|
eingegeben habe, dann stand da immer noch, obwohl ich den Full Duplex aktivierte, dass die Karte auf Half Duplex läuft.. Irgendwas haut da nicht hin.. Kann mich an zeiten erinnern, da lief das zumindest stabil...
Fällt Euch da was zu ein?
für wen das zu wenig Informationen sind hier nochmal die smb.conf, netIO stats, lsmod und lspci
Netio vom Client zum Server:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
TCP connection established.
Packet size 1k bytes: 9515 KByte/s Tx, 8724 KByte/s Rx.
Packet size 2k bytes: 8081 KByte/s Tx, 8442 KByte/s Rx.
Packet size 4k bytes: 8910 KByte/s Tx, 8303 KByte/s Rx.
Packet size 8k bytes: 9866 KByte/s Tx, 8991 KByte/s Rx.
Packet size 16k bytes: 9833 KByte/s Tx, 9345 KByte/s Rx.
Packet size 32k bytes: 9824 KByte/s Tx, 9355 KByte/s Rx.
Done.
UDP connection established.
Packet size 1k bytes: 7350 KByte/s (0%) Tx, 1211 KByte/s (88%) Rx.
Packet size 2k bytes: 4636 KByte/s (0%) Tx, 4973 KByte/s (56%) Rx.
Packet size 4k bytes: 7177 KByte/s (0%) Tx, 11663 KByte/s (0%) Rx.
Packet size 8k bytes: 9160 KByte/s (0%) Tx, 11677 KByte/s (0%) Rx.
Packet size 16k bytes: 9282 KByte/s (0%) Tx, 11675 KByte/s (0%) Rx.
Packet size 32k bytes: 10498 KByte/s (0%) Tx, 11707 KByte/s (0%) Rx.
Done.
|
Netio vom Server zum Client:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
TCP connection established.
Packet size 1k bytes: 8339 KByte/s Tx, 8299 KByte/s Rx.
Packet size 2k bytes: 8087 KByte/s Tx, 8085 KByte/s Rx.
Packet size 4k bytes: 8415 KByte/s Tx, 9169 KByte/s Rx.
Packet size 8k bytes: 8789 KByte/s Tx, 9412 KByte/s Rx.
Packet size 16k bytes: 9237 KByte/s Tx, 9504 KByte/s Rx.
Packet size 32k bytes: 9354 KByte/s Tx, 9762 KByte/s Rx.
Done.
UDP connection established.
Packet size 1k bytes: 6893 KByte/s (39%) Tx, 7735 KByte/s (0%) Rx.
Packet size 2k bytes: 5330 KByte/s (53%) Tx, 4627 KByte/s (0%) Rx.
Packet size 4k bytes: 11695 KByte/s (0%) Tx, 8128 KByte/s (0%) Rx.
Packet size 8k bytes: 11701 KByte/s (0%) Tx, 9143 KByte/s (0%) Rx.
Packet size 16k bytes: 11697 KByte/s (0%) Tx, 9248 KByte/s (0%) Rx.
Packet size 32k bytes: 11721 KByte/s (0%) Tx, 10148 KByte/s (0%) Rx.
Done.
|
mii-tool -v
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
eth0: negotiated 100baseTx-HD, link ok
product info: Intel 82555 rev 4
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 100baseTx-HD 10baseT-HD
eth1: no link
product info: vendor 00:10:18, model 23 rev 6
basic mode: autonegotiation enabled
basic status: no link
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
|
dmesg | grep eth0
|
Quellcode
|
1
2
|
e100: eth0: Intel(R) PRO/100 Network Connection
e100: eth0 NIC Link is Up 100 Mbps Half duplex
|
lsmod:[/u]
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Module Size Used by Not tainted
af_packet 11048 1 (autoclean)
usb-uhci 19504 0 (unused)
usbcore 52268 1 [usb-uhci]
ide-scsi 8272 0
via82cxxx 9256 1
3c59x 23312 0 (unused)
e100 42868 1
parport_pc 19432 0 (unused)
parport 21608 0 [parport_pc]
agpgart 39108 0 (unused)
ide-disk 12448 1
ide-detect 288 0 (unused)
ide-cd 27072 0
cdrom 26212 0 [ide-cd]
ide-core 91832 1 [ide-scsi via82cxxx ide-disk ide-detect ide-cd]
rtc 5768 0 (autoclean)
ext3 65388 2 (autoclean)
jbd 34628 2 (autoclean) [ext3]
sd_mod 10764 4 (autoclean)
aic7xxx 121944 2 (autoclean)
scsi_mod 86052 3 (autoclean) [ide-scsi sd_mod aic7xxx]
unix 12752 11 (autoclean)
|
lspci:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
|
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
0000:00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
0000:00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
0000:00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
0000:00:09.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
0000:00:0b.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)
0000:00:0d.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U (rev 01)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC AGP (rev 7a)
|
hdparm /dev/hda:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
|
/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 1 (on)
readonly = 0 (off)
readahead = 8 (on)
geometry = 4982/255/63, sectors = 80043264, start = 0
|
smb.conf
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
[global]
log file = /var/log/samba/log.%m
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n
socket options = TCP_NODELAY
obey pam restrictions = yes
null passwords = yes
winbind enable local accounts = no
encrypt passwords = yes
passdb backend = tdbsam guest
passwd program = /usr/bin/passwd %u
dns proxy = no
netbios name = lynxpower
server string = %h server (Samba %v)
invalid users = root
default = homes
workgroup = skytelynx
os level = 20
syslog = 0
panic action = /usr/share/samba/panic-action %d
max log size = 1000
; wins support = no
; name resolve order = lmhosts host wins bcast
; syslog only = no
; security = user
; guest account = nobody
; unix password sync = no
; pam password change = no
; load printers = yes
; printing = bsd
; printcap name = /etc/printcap
; printing = cups
; printcap name = cups
; printer admin = @ntadmin
; preserve case = yes
; short preserve case = yes
; include = /home/samba/etc/smb.conf.%m
SO_RCVBUF=8192 SO_SNDBUF=8192
; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
; domain master = auto
; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash
[homes]
comment = Home Directories
browseable = no
writable = no
create mask = 0700
directory mask = 0700
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no
[printers]
comment = All Printers
browseable = no
path = /tmp
printable = yes
public = no
writable = no
create mode = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
; write list = root, @ntadmin
;[cdrom]
; comment = Samba server's CD-ROM
; writable = no
; locking = no
; path = /cdrom
; public = yes
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom
[rootz]
comment = da root
valid users = XXX
writeable = XXX
create mode = XXX
invalid users = XXX
path = /XXX
directory mode = XXX
[backupXXX]
valid users = XXX
writeable = XXX
invalid users = XXX
create mode = XXX
path = XXX
directory mode = XXX
[malte]
valid users = XXX
writeable = XXX
invalid users = XXX
create mode = XXX
path = /XXX
directory mode = XXX
|
So.. das sollte erstmal reichen..
Ich habe bisher noch die 2. Netzwerkkarte auf full und half duplex getestet... vom laptop aus.. da sah es leider auch nicht anders aus. Ein bisschen stabiler richtung 5 MByte/s werden über die 2. Netzwerkkarte, auch vom client her übertragen.. Das auch nur, wenn alles auf Half-Duplex läuft.. Auf full duplex ist da nichts zu machen..
Greetz. Cl@