AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/nicfeed.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:PCMCIA NIC I/O stall avoider
Author: megacz at usa.com
Uploader:megacz usa com
Type:util/cli
Version:0.1
Architecture:m68k-amigaos,generic
Date:2009-11-08
Requires:68020+
Download:util/cli/nicfeed.lha - View contents
Readme:util/cli/nicfeed.readme
Downloads:808

nicfeed-0.1
-------------

---

As you may know PCMCIA networking on A1200 isnt very stable. At the very
beginning i thought that this has something to do with network adapter, or
device driver but when i tested more NIC's i realised that this is PCMCIA
handling fault... Sometimes it happens that when there is a lot to xfer,
NIC simply hangs in the middle and there is no connectivity at all. Im sure
you have experienced that plenty of times. Earlier i wrote 'myinterfacesuck'
which did its job quite well, until i found that it actually overflows the
NIC even more when its already unusable causing unpredictible results, so
i took different path and as a result 'nicfeed' was born. This proggy does 
not broadcast anything over the wire(no additional overflow), detects iface
states(no hammering) and rehashes device and interface when it sees that
there is no traffic at all. When I/O stall(hang) appears it tries to be
first to spot it, so programs who send a lot of data will be prevented from
doing this, which means that they wont be able to overflow the device.

If you still use 'myinterfacesuck' then drown it in NIL: and forget about
its existence ;-) .

---

NOTES:

[*]
Requires 68020+, OS 2.04+, 4096 bytes of free memory, bsdsocket.library 3+

[*]
Generally you want to use the default 1 second interval, because the sooner
the stall will be detected the better.

---

USAGE:

   *** t: nicfeed <d=dev/a> <u=unit/n> <f=iface/a> [i=intval/n] [v=vbose/s]

                  <d=dev/a>  -  SANAII device name(like: 3c589.device)
                 <u=unit/n>  -  SANAII device unit(usually it is 0)
                <f=iface/a>  -  Unix network interface name(like: eth0)
               [i=intval/n]  -  delay between checks in seconds(def: 1)
                [v=vbose/s]  -  makes loop messages visible

---

EXAMPLE:

   ; make sure you pass right arguments before using 'run'!
   run >nil: nicfeed 3c589.device 0 eth0
   waitback [nicfeed]

---
megacz@usa.com


Contents of util/cli/nicfeed.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1905    4561  41.8% -lh5- 9548 Apr  7  1994 nicfeed-0.1/include/amitcp/socketbasetags.h
[generic]                  529    1077  49.1% -lh5- 0d1d Apr  7  1994 nicfeed-0.1/include/amitcp/types.h
[generic]                  352     648  54.3% -lh5- a29b Mar 22  1994 nicfeed-0.1/include/bsdsocket.h
[generic]                 1710    4860  35.2% -lh5- 320b Apr 13  1994 nicfeed-0.1/include/clib/netlib_protos.h
[generic]                  573    1359  42.2% -lh5- b3e0 Feb 24  1994 nicfeed-0.1/include/clib/socket_inlines.h
[generic]                 1501    4837  31.0% -lh5- 464f Jan 22  1994 nicfeed-0.1/include/clib/socket_protos.h
[generic]                  849    2146  39.6% -lh5- 7ef1 May 19  1994 nicfeed-0.1/include/clib/usergroup_protos.h
[generic]                 2774    9193  30.2% -lh5- 0022 Jun  4  1993 nicfeed-0.1/include/devices/sana2.h
[generic]                  890    1927  46.2% -lh5- 0516 May 16  1994 nicfeed-0.1/include/libraries/usergroup.h
[generic]                 4146   10374  40.0% -lh5- 455f Feb  4  1994 nicfeed-0.1/include/net/if.h
[generic]                 2000    4431  45.1% -lh5- 7aac Feb  4  1994 nicfeed-0.1/include/net/if_arp.h
[generic]                 2846    6680  42.6% -lh5- 8841 Aug  1  1993 nicfeed-0.1/include/netinet/in.h
[generic]                 1233    5925  20.8% -lh5- 9a1b Jan 19  1994 nicfeed-0.1/include/pragmas/socket_pragmas.h
[generic]                  652    2397  27.2% -lh5- 92ab May 19  1994 nicfeed-0.1/include/pragmas/usergroup_pragmas.h
[generic]                  391     700  55.9% -lh5- 98af Feb 26  1994 nicfeed-0.1/include/proto/socket.h
[generic]                  352     616  57.1% -lh5- 3ba9 Feb 24  1994 nicfeed-0.1/include/proto/usergroup.h
[generic]                  640    1862  34.4% -lh5- 5ecd Feb  4  1994 nicfeed-0.1/include/sys/a_ioctl.h
[generic]                 2318    5428  42.7% -lh5- b6f4 Mar 22  1994 nicfeed-0.1/include/sys/cdefs.h
[generic]                 2970    7258  40.9% -lh5- dc7a Mar 22  1994 nicfeed-0.1/include/sys/errno.h
[generic]                 2302    5984  38.5% -lh5- 9434 Feb  4  1994 nicfeed-0.1/include/sys/ioctl.h
[generic]                 1134    2607  43.5% -lh5- 65f6 Feb  4  1994 nicfeed-0.1/include/sys/param.h
[generic]                 3912    9731  40.2% -lh5- 2df9 Jan 24  1994 nicfeed-0.1/include/sys/socket.h
[generic]                 1249    3319  37.6% -lh5- ffc7 May  2  1994 nicfeed-0.1/include/sys/stat.h
[generic]                 3092    7368  42.0% -lh5- 2c8b Mar 17  1994 nicfeed-0.1/include/sys/syslog.h
[generic]                 1381    3223  42.8% -lh5- f8a9 Oct 18  1993 nicfeed-0.1/include/sys/time.h
[generic]                  782    1644  47.6% -lh5- 8500 Apr  7  1994 nicfeed-0.1/include/sys/types.h
[generic]                 1379    2955  46.7% -lh5- 1ccd Feb 24  1994 nicfeed-0.1/include/utmp.h
[generic]                 1494    2892  51.7% -lh5- 316c Nov  7 23:52 nicfeed-0.1/nicfeed
[generic]                 4208   18603  22.6% -lh5- 23b9 Nov  7 23:51 nicfeed-0.1/nicfeed.c
[generic]                 1058    1975  53.6% -lh5- f69a Nov  7 23:52 nicfeed-0.1/nicfeed.readme
[generic]                  280     477  58.7% -lh5- dd84 Nov  7 22:23 nicfeed-0.1/SMakefile
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        31 files   50902  137057  37.1%            Nov  7 20:52
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>