Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2006 00:30:11 -0400
From:      Mikhail Teterin <mi+kde@aldan.algebra.com>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        freebsd-net@freebsd.org, freebsd-stable@freebsd.org, jfvogel@gmail.com
Subject:   new em-driver still broken (was: Re: em network issues)
Message-ID:  <200610280030.12319@aldan>
In-Reply-To: <20061021173358.GC75694@cell.sick.ru>
References:  <200610211300.09476@aldan> <20061021173358.GC75694@cell.sick.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 21 October 2006 13:33, Gleb Smirnoff wrote:
= We aren't currently speaking about performance, we need to know whether
= kernel with DEVICE_POLLING option makes NIC work stable.

Having noticed today's em-driver update, I rebuilt world/kernel and tried the
dump-test again.

The kernel had the DEVICE_POLLING option in it, but polling was not, actually,
enabled on em0.

With three simultanious dumps arriving, the system-component of the load was
40-50%:

    2 users    Load  2.64  0.98  0.41                  28 ΦΟΧ 00:13

Mem:KB    REAL            VIRTUAL                     VN PAGER  SWAP PAGER
        Tot   Share      Tot    Share    Free         in  out     in  out
Act  109936   30080   196064    42464 1642672 count
All  366172   32684 1413555k    48140         pages
                                                                 Interrupts
Proc:r  p  d  s  w    Csw  Trp  Sys  Int  Sof  Flt        cow    6720 total
     3       55      9736   151241k19989   47      232248 wire        irq1: atkb
                                                    79108 act         irq6: fdc0
35.8%Sys   4.5%Intr 59.7%User  0.0%Nice  0.0%Idl    60372 inact       irq15: ata
|    |    |    |    |    |    |    |    |    |        276 cache       irq17: fwo
==================++>>>>>>>>>>>>>>>>>>>>>>>>>>>>  1642396 free        irq20: nve
                                                          daefr       irq21: ohc
Namei         Name-cache    Dir-cache                     prcfr       irq22: ehc
    Calls     hits    %     hits    %                     react  2710 irq25: em0
      229      229  100                                   pdwak    24 irq29: amr
                                          zfod            pdpgs  1993 cpu0: time
Disks   ad4   ad6 amrd0                   ozfod           intrn  1993 cpu1: time
KB/t   0.00  0.00   128                   %slo-z   221184 buf
tps       0     0    12                 4 tfree        22 dirtybuf
MB/s   0.00  0.00  1.49                            100000 desiredvnodes
% busy    0     0    30                              2409 numvnodes

It was working...

Then I entered the following shell command:

	% (ifconfig em0 polling; sleep 179; ifconfig em0 -polling) &

Hoping, that, even if polling causes problems, three minutes later it will
turn back off automatically.

Unfortunately, the machine dropped off the network immediately and is not
coming back. I'll get to its console on Monday, but something is still very
wrong with the em-driver :-(

	-mi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610280030.12319>