Hi!

Thank you for the tips!

Sorry, for the long mail, but I wanna show you some server statistics.

To answer a few further questions:

1. sysctl -w net.inet.ip.mtudisc=0
   doesn't have any effect
2. no important messages in /var/log/messages during up-/download
3. Samba downloads show similar behaviour
4. And I ran some further tests with ifstat, iostat and netperf
   (see below)

My assumptions:
I think there are some problems with my hdd, especially when dmesg says:

-----
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
wd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 512
        c_skip: 0
wd0e: DMA error writing fsbn 2651200 of 2651200-2651211 (wd0 bn 3819472; cn 
3789 tn 2 sn 34), retrying
wd0: soft error (corrected)
wd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 0
        c_skip: 0
wd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 512
        c_skip: 0
wd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 8192
        c_skip: 0
wd0e: device timeout writing fsbn 2651200 of 2651200-2651215 (wd0 bn 3819472; 
cn 3789 tn 2 sn 34), retrying
wd0: soft error (corrected)
wd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 512
        c_skip: 0
wd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 512
        c_skip: 0
wd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 512
        c_skip: 0
wd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 6144
        c_skip: 0
wd0e: device timeout writing fsbn 2653908 of 2653908-2653919 (wd0 bn 3822180; 
cn 3791 tn 13 sn 33), retrying
wd0: soft error (corrected)
----

After running a self test with smartctl the results do not look very good:
----
Num  Test_Description    Status                  Remaining  LifeTime(hours)  
LBA_of_first_error
# 1  Extended offline    Completed: read failure       40%      2076         
169914
----

And if you have a look at the iostat results you can see repeating patterns
like these:
----
            wd0            wd0             cpu
  KB/t t/s MB/s    KB xfr time  us ni sy in id
 64.00   1 0.06    64   1 3.50   1  0  0  0 99
  0.00   0 0.00     0   0 0.00   1  0  0  0 99
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  1 99
----

Does that mean that the hdd is busy during the 'zero-lines' while there is no
more data transfer through the IO controller? The 3.5 seconds cannot be a
real meassured value, because they were recorded during a span of 1
second. So the transfer actually has to extend to the next 3 seconds. But there
it is no longer displayed in the statistics. (I hope you know what I want to
say.)

So I think the problem is my hdd.

What do you think?

Jo
netserver on OpenBSD box
netperf on Linux box

> netperf -H <OpenBSD> -l 20
Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

 16384  16384  16384    20.02       7.74   

netserver on Linux box
netperf on OpenBSD box

> netperf -H <Linux> -l 20
Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

 87380  16384  16384    20.02       7.89   

------------------------------------------------------------

12 MB upload via scp (Linux host -> OpenBSD server)
with scp running on Linux box and sshd running on OpenBSD

> iostat -w 1 -D -d -C wd0
            wd0            wd0             cpu
  KB/t t/s MB/s    KB xfr time  us ni sy in id
 15.10   0 0.00     2   0 0.99   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00  16  0  5  0 79
 16.00   5 0.08    79   5 5.95   0  0  0  0100
 16.00   1 0.02    16   1 0.99   0  0  0  0100
  0.00   0 0.00     0   0 0.00   5  0  4  0 91
 15.33   3 0.04    46   3 2.59   0  0  0  0100
 24.00  12 0.28   286  12 1.09   5  0  2  2 91
 37.33   9 0.33   333   9 1.00   8  0  3  6 83
 64.00  14 0.86   882  14 0.97  18  0  8  5 68
 64.00  13 0.81   826  13 0.97  17  0  3  9 71
 64.00  15 0.93   953  15 1.04  12  0  5  8 75
 53.89  19 0.99  1016  19 1.01  22  0  8  4 67
 64.00  14 0.86   882  14 0.95  21  0  5  8 66
 64.00  15 0.93   953  15 1.02  22  0  6  9 63
 64.00  15 0.93   953  15 0.98  30  0  9  6 55
 56.00  18 0.97   992  18 1.00  13  0 10  9 68
 64.00  13 0.81   826  13 1.00  19  0  5  5 71
 64.00  14 0.87   889  14 0.95  12  0  5  4 79
 64.00  15 0.93   953  15 1.07  26  0  8  2 64
            wd0            wd0             cpu
  KB/t t/s MB/s    KB xfr time  us ni sy in id
 64.00  15 0.92   945  15 0.98  15  0  5  5 75
 64.00   3 0.19   191   3 0.20   6  0  2  2 90
  0.00   0 0.00     0   0 0.00   0  0  0  0100


12 MB download via scp (OpenBSD server -> Linux host)
with scp running on Linux box and sshd running on OpenBSD

> iostat -w 1 -D -d -C wd0

            wd0            wd0             cpu
  KB/t t/s MB/s    KB xfr time  us ni sy in id
 15.16   0 0.00     2   0 0.99   0  0  0  0100
 16.00   6 0.09    95   6 0.98   1  0  1  0 98
  7.60   5 0.04    38   5 0.98   2  0  3  0 95
 22.00   6 0.13   130   6 0.78  13  0  2  0 85
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 29.43   7 0.20   204   7 3.42   9  0  4  2 86
 16.00   2 0.03    32   2 0.92   1  0  0  0 99
  0.00   0 0.00     0   0 0.00   0  0  1  1 98
 48.00   1 0.05    47   1 2.62   1  0  1  2 97
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 48.00   1 0.05    47   1 2.60   1  0  0  0 99
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 22.00   8 0.17   175   8 3.54   2  0  0  0 98
 61.00  16 0.94   961  16 1.15  23  0  9  3 65
 64.00  15 0.93   953  15 0.99  16  0 14  4 66
 64.00   3 0.19   191   3 0.23   2  0  4  1 93
            wd0            wd0             cpu
  KB/t t/s MB/s    KB xfr time  us ni sy in id
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   1  0  0  0 99
 64.00   1 0.06    64   1 2.90   2  0  0  0 98
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 64.00   1 0.06    64   1 3.50   1  0  0  0 99
  0.00   0 0.00     0   0 0.00   1  0  0  0 99
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  1 99
 64.00   1 0.06    64   1 3.51   2  0  0  0 98
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 64.00   1 0.06    64   1 3.56   1  0  0  3 96
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 64.00  14 0.87   889  14 2.32  16  0  5  2 78
 64.00  12 0.74   756  12 0.78  16  0  4  3 77
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 37.00   2 0.07    73   2 3.35   2  0  1  1 97
            wd0            wd0             cpu
  KB/t t/s MB/s    KB xfr time  us ni sy in id
  0.00   0 0.00     0   0 0.00   0  0  0  1 99
  0.00   0 0.00     0   0 0.00   0  0  0  1 99
 64.00   1 0.06    63   1 3.49   2  0  1  0 98
  0.00   0 0.00     0   0 0.00   0  0  1  0 99
  0.00   0 0.00     0   0 0.00   0  0  1  0 99
  0.00   0 0.00     0   0 0.00   0  0  1  0 99
 64.00   1 0.06    63   1 3.47   1  0  0  1 98
  0.00   0 0.00     0   0 0.00   0  0  1  0 99
  0.00   0 0.00     0   0 0.00   0  0  1  0 99
 40.00   2 0.08    78   2 3.50   2  0  1  0 98
 64.00   5 0.31   320   5 1.33   3  0  1  0 96
 64.00  15 0.93   953  15 1.02  16  0  8  9 67
 64.00  14 0.87   889  14 0.93  16  0  6  5 72
  0.00   0 0.00     0   0 0.00   1  0  1  2 97
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 64.00   1 0.06    64   1 2.89   1  0  0  1 98
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   1  0  0  0 99
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 64.00   1 0.06    64   1 3.49   1  0  1  0 98
            wd0            wd0             cpu
  KB/t t/s MB/s    KB xfr time  us ni sy in id
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 64.00   1 0.06    64   1 3.53   1  0  1  2 97
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 64.00   1 0.06    64   1 3.62   2  0  0  0 98
  0.00   0 0.00     0   0 0.00   0  0  0  1 99
 64.00  16 0.99  1016  16 2.57  18  0  5  3 74
 64.00  10 0.62   635  10 0.65  15  0  5  3 78
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 64.00   1 0.06    64   1 3.38   1  0  2  0 98
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 64.00   1 0.06    64   1 3.57   2  0  0  0 98
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100

            wd0            wd0             cpu
  KB/t t/s MB/s    KB xfr time  us ni sy in id
 64.00   1 0.06    64   1 3.53   1  0  1  0 98
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  1  0 99
 64.00   1 0.06    64   1 3.44   2  0  0  0 98
 64.00   8 0.50   508   8 1.46   8  0  2  0 91
 64.00  14 0.86   882  14 0.97  20  0  7  1 72
 64.00  12 0.74   762  12 0.76  13  0  6  6 74
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 64.00   1 0.06    64   1 1.95   2  0  0  1 98
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 64.00   1 0.06    64   1 3.41   1  0  0  1 98
  0.00   0 0.00     0   0 0.00   0  0  1  0 99
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 64.00   1 0.06    64   1 3.56   2  0  0  0 98
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
  0.00   0 0.00     0   0 0.00   0  0  0  0100
 64.00   1 0.06    64   1 3.42   1  0  1  0 98
            wd0            wd0             cpu
  KB/t t/s MB/s    KB xfr time  us ni sy in id
  0.00   0 0.00     0   0 0.00   0  0  0  1 99
 53.33   6 0.31   318   6 2.69   9  0  4  2 86
  0.00   0 0.00     0   0 0.00   0  0  1  0 99
  0.00   0 0.00     0   0 0.00   0  0  0  0100

------------------------------------------------------------

12 MB upload via scp (Linux host -> OpenBSD server)
with scp running on Linux box and sshd running on OpenBSD

> ifstat -i rl0                                                 
       rl0        
 KB/s in  KB/s out
    2.00      2.79
    1.37      1.88
    0.06      0.14
    0.06      0.14
  152.88      6.40
  920.79     34.67
  919.38     33.85
  989.65     36.71
 1002.80     37.30
  985.28     36.84
  985.25     36.22
  995.49     36.99
  993.99     36.99
  977.97     36.68
  991.13     36.91
  972.06     36.25
  991.11     36.91
  418.51     16.06
    0.06      0.14


12 MB download via scp (OpenBSD server -> Linux host)
with scp running on Linux box and sshd running on OpenBSD

> ifstat -i rl0 
       rl0        
 KB/s in  KB/s out
    0.13      0.28
    3.24      4.38
    0.06      0.14
    0.06      0.14
    3.80    151.34
    2.20     50.73
    0.06      0.22
    0.06      0.14
    1.21     50.51
    0.06      0.14
    0.06      0.14
    1.71     50.51
    0.06      0.14
    0.06      0.14
    2.26     67.33
   20.13    891.52
   21.47    935.40
    9.40    387.99
    0.06      0.14
    0.06      0.14
    2.15     67.25
    0.06      0.14
    0.06      0.14
    2.14     66.74
    0.06      0.14
    0.06      0.14
    0.06      0.14
    2.15     67.25
    0.06      0.14
    0.06      0.14
    2.15     67.25
    0.06      0.14
   16.42    710.76
   23.80   1032.86
    0.51      1.47
    0.06      0.14
    0.06      0.14
    2.09     67.25
    0.06      0.14
    0.06      0.14
    2.09     67.25
    0.06      0.14
    0.06      0.14
    0.06      0.14
    2.02     67.25
    0.06      0.14
    0.06      0.14
    1.71     67.25
    4.41    187.77
   21.90    953.06
   22.83    994.77
    3.86    145.55
    0.06      0.14
    0.06      0.14
    1.71     67.25
    0.38      0.14
    0.06      0.14
    0.06      0.14
    1.64     67.25
    0.06      0.14
    0.06      0.14
    1.71     67.25
    0.06      0.14
    0.06      0.14
    0.06      0.14
       rl0        
 KB/s in  KB/s out
    2.09     67.49
    0.13      0.14
   21.01    933.30
   19.18    811.61
    0.06      0.22
    0.06      0.14
    0.06      0.14
    1.64     67.33
    0.06      0.14
    0.06      0.14
    1.64     67.33
    0.06      0.14
    0.06      0.14
    0.19     11.96
    1.58     55.51
    0.06      0.14
    0.06      0.14
    1.64     67.33
    8.66    393.12
   21.90    954.54
   21.96    934.33
    0.06      0.22
    1.64     67.33
    0.06      0.14
    0.06      0.14
    0.06      0.14
    1.64     67.33
    0.06      0.14
    0.06      0.14
    1.71     67.25
    0.06      0.22
    0.06      0.14
    0.06      0.14
    1.64     67.33
    0.06      0.14
    5.18    240.95
    2.74     88.13

______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

Reply via email to