levna 100Mbps NIC
Milon
milon na iname.com
Čtvrtek Únor 17 09:24:42 CET 2000
No a asi prave proto ten clovek z Mandrake prepisuje ten driver ......
Vysato ze stranky Donald Backer k momentalnimu driveru:
"The RTL8129 series is a low-cost design, and thus should be considered a
"connectivity solution" rather a performance-oriented product."
While the chip is a bus master, it's not a descriptor-based bus master. The
receive side transfers packets into a single linear ring (compile-time
selectable as 8KB, 16KB, 32KB or 64KB) in host memory. The driver
immediately copies the packets from the ring to newly-allocated buffers
("skbuffs"). Most other Fast Ethernet designs use a descriptor-based
architecture, which allows packets the chip to transfer directly into
pre-allocated maximum-sized skbuffs. The driver then optionally copies only
tiny packets into smaller-sized skbuffs.
"Mikulas Patocka" <mikulas na artax.karlin.mff.cuni.cz> wrote in message
news:88eqio$1v4c$1 na ns.felk.cvut.cz...
> >"Mikulas Patocka" <mikulas na artax.karlin.mff.cuni.cz> wrote in message
> >news:88egsd$1f7v$1 na ns.felk.cvut.cz...
> >> >Momentalni ovladac na 8139 ma problemy, pokud neni v pocitaci dostatek
> >> >pameti, aby pri inicializaci pro sebe sebral 64kB souvisleho prostoru
v
> >RAM.
> >> >
> >> >Moje konfigurace byla: Pentium 133, 16MB Ram, 2 x Planet 100Mb RTL
8139,
> >> >Kernel 2.2.13
> >> >
> >> >Obvykle najela pouze prvni karta a na druhou se uz pamet nedostala.
Obcas
> >> >nejely obe dve a obcas nenajela zadna. (Pri insmod napsal: Error:
Coul'd
> >not
> >> >allocate 65535 byte receive ring)
> >>
> >> A proc to nezakompilovat primo do kernelu misto pouziti modulu? Pri
> >> bootu kernelu by mela byt skoro cela pamet k dispozici.
> >>
> >> Mikulas
> >
> >Kompilace do kernelu je asi takyreseni, ale uz jsem to nestacil
vyzkouset.
> >Majitel pocitace totiz driv dotlacil tu pamet na 32MB kvuli jiny
aplikaci.
>
> To ovsem zas nemusi fungovat ... dejme tomu, ze vypnou proud, system
> spadne, provede se fsck cimz se cela pamet zaplni buffery a driver
> opet nebude schopen najit dany blok.
>
> V Linuxu neni zadna zaruka, ze se nalezne blok delky vetsi nez jedna
> stranka - bez ohledu na mnozstvi fyzicke pameti.
>
> Driver, ktery potrebuje vetsi blok by se mel bud nahravat pri startu
> kernelu, nebo obsahovat kod, ktery bude pamet uvolnovat tak dlouho,
> dokud blok nebude k dispozici.
>
> Mikulas
Další informace o konferenci Linux