Re: Linux Vs. FreeBSD Networking Performance

2001-03-23 Thread Ashutosh S. Rajekar

Hi,

Recently there was a culomn in byte.com by Moshe Bar, and his tests seemed
to show that FreeBSD-4.1.1 could still beat the Linux 2.4.0 kernel. The
test machine was a 2-way SMP machine, running the a giant locked
FreeBSD-4.1.1 kernel and also a fine-locked 2.4.0 Linux kernel. Here's the
link: http://www.byte.com/column/BYT20010130S0010

On Thu, 22 Mar 2001, Jonathan Graehl wrote:

> Interesting topic in the linux kernel mailing list (Linux is "a lot" faster than
> FreeBSD):
> http://kt.zork.net/kernel-traffic/latest.html#2
> 
> I came to use FreeBSD from Linux for servers because of kqueue.  I stayed
> because I liked the entire system.  I'm sure that Linux does TCP processing as
> fast as possible, and that in-kernel servers (NFS and the TUX webserver) are
> blazingly fast.
> 
> I do have Linux 2.4 running on an old machine, but I have no intention of taking
> down my FreeBSD box to dual boot Linux just to compare penis size.  Has anyone
> recently done so?
> 
> --
> Jonathan Graehl
>   http://jonathan.graehl.org/
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-net" in the body of the message
> 

-
   ("`-''-/").___..--''"`-._ (\ Ashutosh S. Rajekar
`6_ 6  )   `-.  ( ).`-.__.`)Indra Networks Pvt. Ltd.
(_Y_.)'  ._   )  `._ `. ``-..-' Pune, INDIA.
  _..`--'_..-_/  /--'_.' ,' mailto: [EMAIL PROTECTED]
 (il),-''  (li),'  ((!.-'   http://www.rajekar.org
-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



toner supplies

2001-03-23 Thread toner1

PLEASE FORWARD TO THE PERSON
RESPONSIBLE FOR PURCHASING
YOUR LASER PRINTER SUPPLIES





 VORTEX  SUPPLIES 



-SPECIALS OF THE DAY ON LASER TONER SUPPLIES AT DISCOUNT PRICES--


 
LASER PRINTER TONER CARTRIDGES

COPIER AND FAX CARTRIDGES



WE ARE -->THE<-- PLACE TO BUY YOUR TONER CARTRIDGES BECAUSE YOU

SAVE UP TO 30% FROM OFFICE DEPOT'S, QUILL'S OR OFFICE MAX'S EVERY DAY

LOW PRICES



ORDER BY PHONE:1-888-288-9043

ORDER BY FAX: 1-888-977-1577

CUSTOMER SERVICE: 1-888-248-2015
E-MAIL REMOVAL LINE: 1-888-248-4930 



UNIVERSITY AND/OR SCHOOL PURCHASE ORDERS WELCOME. (NO CREDIT APPROVAL REQUIRED)

ALL OTHER PURCHASE ORDER REQUESTS REQUIRE CREDIT APPROVAL.



PAY BY CHECK (C.O.D), CREDIT CARD OR PURCHASE ORDER (NET 30 DAYS).





IF YOUR ORDER IS BY CREDIT CARD PLEASE LEAVE YOUR CREDIT CARD # PLUS EXPIRATION DATE. 

IF YOUR ORDER IS BY PURCHASE ORDER LEAVE YOUR SHIPPING/BILLING ADDRESSES AND YOUR P.O. 
NUMBER

NO SHIPPING CHARGES FOR ORDERS $49 OR OVER

ADD $4.75 FOR ORDERS UNDER $49.

C.O.D. ORDERS ADD $4.5 TO SHIPPING CHARGES.

FOR THOSE OF YOU WHO REQUIRE MORE INFORMATION ABOUT OUR COMPANY
INCUDING FEDERAL TAX ID NUMBER, CLOSEST SHIPPING OR CORPORATE ADDRESS IN THE
CONTINENTAL U.S.  OR  FOR CATALOG  REQUESTS PLEASE CALL OUR CUSTOMER
SERVICE LINE  1-888-248-2015 
 


OUR NEW , LASER PRINTER TONER CARTRIDGE, PRICES ARE  AS FOLLOWS: 



(PLEASE ORDER BY PAGE NUMBER AND/OR ITEM NUMBER)

 

HEWLETT PACKARD: (ON PAGE 2)

   

ITEM #1  LASERJET SERIES  4L,4P (74A)$44

ITEM #2  LASERJET SERIES  1100 (92A)-$44

ITEM #3  LASERJET SERIES  2 (95A)---$39

ITEM #4  LASERJET SERIES  2P (75A)-$54 

ITEM #5  LASERJET SERIES  5P,6P,5MP, 6MP (3903A)--$44

ITEM #6  LASERJET SERIES  5SI, 5000 (29A)--$95

ITEM #7  LASERJET SERIES  2100 (96A)-$74

ITEM #8  LASERJET SERIES  8100 (82X)---$145

ITEM #9  LASERJET SERIES  5L/6L (3906A0--$35

ITEM #10 LASERJET SERIES  4V-$95

ITEM #11 LASERJET SERIES 4000 (27X)-$72

ITEM #12 LASERJET SERIES 3SI/4SI (91A)$54

ITEM #13 LASERJET SERIES 4, 4M, 5,5M---$49



HEWLETT PACKARD FAX (ON PAGE 2)



ITEM #14 LASERFAX 500, 700 (FX1)--$49

ITEM #15  LASERFAX 5000,7000 (FX2)--$54

ITEM #16  LASERFAX (FX3)$59

ITEM #17  LASERFAX (FX4)$54



LEXMARK/IBM (ON PAGE 3)



OPTRA 4019, 4029 HIGH YIELD---$89

OPTRA R, 4039, 4049 HIGH YIELD-$105

OPTRA E$59

OPTRA N--$115

OPTRA S--$165

-

EPSON (ON PAGE 4)



ACTION LASER 7000,7500,8000,9000---$105

ACTION LASER 1000,1500-$105



CANON PRINTERS (ON PAGE 5)



 PLEASE CALL FOR MODELS AND UPDATED PRICES

 FOR CANON PRINTER CARTRIDGES



PANASONIC (0N PAGE 7)



NEC SERIES 2 MODELS 90 AND 95--$105



APPLE (0N PAGE 8)



LASER WRITER PRO 600 or 16/600$49 

LASER WRITER SELECT 300,320,360-$74

LASER WRITER 300 AND 320--$54

LASER WRITER NT, 2NT--$54

LASER WRITER 12/640$79







CANON FAX (ON PAGE 9)



LASERCLASS 4000 (FX3)---$59

LASERCLASS 5000,6000,7000 (FX2)-$54

LASERFAX 5000,7000 (FX2)--$54

LASERFAX 8500,9000 (FX4)--$54





CANON COPIERS (PAGE 10)



PC 3, 6RE, 7 AND 11 (A30)-$69

PC 300,320,700,720 and 760 (E-40)$89



IF YOUR CARTRIDGE IS NOT LISTED CALL CUSTOMER SERVICE AT 1-888-248-2015 



90 DAY UNLIMITED WARRANTY INCLUDED ON ALL PRODUCTS.



ALL TRADEMARKS AND BRAND NAMES LISTED ABOVE ARE PROPERTY OF THE 

RESPECTIVE HOLDERS AND USED FOR DESCRIPTIVE PURPOSES ONLY.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: dhclient not setting IP ...

2001-03-23 Thread The Hermit Hacker

On Thu, 22 Mar 2001, Matthew Emmerton wrote:

> > I'm connected through cable to the 'Net, and the provider I go
> > through, it appears, somehow has it setup that if I change nics, I hvae a
> > bugger of a time re-acquiring a lease ...
>
> I presume dhclient is what you use to get your IP address.
>
> I've seen ISPs that record the MAC address of the interface, and won't give
> out addresses to any other MAC address but the original one.  They'll expire
> that MAC eventually, but perhaps not for 24 hours or a week.

this is what it appears it was ... called up their tech support last
night, the girl there said "we dont' support Unix", I asked her to release
the IP and low-n-behold, I got a new one ...

Thanks ...



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: Linux Vs. FreeBSD Networking Performance

2001-03-23 Thread Jonathan Lemon

In article <[EMAIL PROTECTED]> you write:
>I can confirm Linux 2.4 TCP/IP is faster than FreeBSD, they have
>dynamic tuned TCP window, unlike we have a fixed max TCP window
>set in SYSCTL. they have SACK and FACK, it is better in high speed line
>than FreeBSD, it is also multi-threaded, better on SMP, someone
>despise Linux should wakeup now, Linux is not so bad.

Unfortunately, you haven't confirmed anything here, other 
than Linux has a different feature set than FreeBSD, which
we already are aware of.

Just having more features does not automatically make things faster.
--
Jonathan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



ttr: Shared-RAM (a.k.a. TROPIC) token ring adapter driver (beta) available

2001-03-23 Thread Nikolai Saoukh

The driver available at

http://www.otdel-1.org/nms/tr/ttr.tar.gz

One also need orm driver submitted as kern/22078.
It available also at

http://www.otdel-1.org/nms/tr/orm.tar.gz

Installation for both drivers:

Drivers where developed under 4.2-STABLE, but should run
under -CURRENT too (at least I hope so).

Unpack archives in any directory and do (for both drivers)

make
make install

Add the following to /boot/loader.conf

verboseboot="YES"
orm_load="YES"
if_ttr_load="YES"

I am interested in succcess/failure cases, so PLEASE
do not hesitate to send me dmesg output. Some debug
output still present in ttr driver.

English is not my native language so feel free to extend/edit
manual pages, where appropriate (do not forget submit your changes
to me).

Plans:

Netgraph only driver and any additional modules required.

Additional buses (PCMCIA, MCA, EISA, PCI, CardBus) if I see
interest.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: Linux Vs. FreeBSD Networking Performance

2001-03-23 Thread Steve Shah

On Fri, Mar 23, 2001 at 02:21:24PM +0530, Ashutosh S. Rajekar wrote:
> [FreeBSD TCP/IP is faster than Linux TCP/IP in Benchmark X]
> > [Linux TCP/IP is faster than FreeBSD TCP/IP in Benchmark Y]

There are lies, statistics, and benchmarks. And then there are the 
conclusions based on them. The conclusions are often the shakiest part.


-- 
__
Steve Shah ([EMAIL PROTECTED]) | Voice: 408.284.4226  Pager: 408.989.4247
http://www.clickarray.com |  Pager E-Mail: [EMAIL PROTECTED] 
~~
  Beating code into submission, one OS at a time...

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: RTM_LOSING: Kernel Suspects Partitioning:

2001-03-23 Thread Garrett Wollman

< said:

>> This is perfectly natural.  TCP will generate these messages whenever
>> its retransmission timer goes off; they should correlate with packet
>> losses.

>  Is it also natural that I cannot ftp from the box to anywhere
> (eg. ftp.cdrom.com)?

One goes in hand with the other.  Your TCP connections are timing out,
which causes the RTM_LOSING messages.  Clearly, your packets are not
getting anywhere.  Perhaps you should carefully check your
configuration.

-GAWollman


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: dhclient not setting IP ...

2001-03-23 Thread Barney Wolff

I've heard folklore that power-cycling the cable-modem works -
apparently it's the thing that remembers the MAC.
Barney Wolff

On Fri, Mar 23, 2001 at 08:55:14AM -0400, The Hermit Hacker wrote:
> On Thu, 22 Mar 2001, Matthew Emmerton wrote:
> 
> > > I'm connected through cable to the 'Net, and the provider I go
> > > through, it appears, somehow has it setup that if I change nics, I hvae a
> > > bugger of a time re-acquiring a lease ...
> >
> > I presume dhclient is what you use to get your IP address.
> >
> > I've seen ISPs that record the MAC address of the interface, and won't give
> > out addresses to any other MAC address but the original one.  They'll expire
> > that MAC eventually, but perhaps not for 24 hours or a week.
> 
> this is what it appears it was ... called up their tech support last
> night, the girl there said "we dont' support Unix", I asked her to release
> the IP and low-n-behold, I got a new one ...

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



ppp(8) + ip forwarding doesn't work anymore

2001-03-23 Thread Maxim Sobolev

Hi,

I noticed that after upgrading to 4-BETA something goes wrong with ip
forwarding via ppp(8). I have a FreeBSD box (A) connected to Internet
via network interface and this system also has a modem for dial-in and
backup dial-up connection. Sometimes I need to route through this
modem traffic to/from only one specific host (B) on my internal
network, so I used the following command to do it and it worked like a
charm (50 is the first rule):

ppp.linkup:
!bg /sbin/ipfw add 50 fwd HISADDR ip from B to not 192.168.0.1/24

ppp.linkdown:
!bg delete 50

After upgrading to 4-BETA and consequently to 4-RC this doesn't work
anymore :(((. After a link is up I see this rule in my ipfw
configuration, see route to HISADDR in routing table, can ping
HISADDR  from A, but all packets from B are silently discarded (I see
count increase in `ipfw show', but ppp doesn't show any IP packets
going through). At the same time, I can get all packets from B and
other hosts routed through ppp by doing `route add default HISADDR'
after link is up, so obviously my configuration is OK. I suspect that
this has something to do with recent forwarding changes, but can't
tell more precisely.

It looks to me like a serious bug, that ought to be resolved before
4.3-RELEASE.

-Maxim
P.S. Yes, I have gateway_enable="YES" and "options IPFIREWALL_FORWARD"
on A.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



RE: Linux Vs. FreeBSD Networking Performance

2001-03-23 Thread Jonathan Graehl

> Yes, we do.  In fact, the difference between FreeBSD and Linux is
> greater
> than 2x.  On equivalent processors, we demonstrated 1900 polygraph
> req/sec
> on FreeBSD 4.2 and 720 polygraph req/sec on a 2.2.14 Linux kernel.  It's
> also worth mentioning that the response time for FreeBSD at 1900 req/sec
> was faster than Linux at 720 req/sec.
>
> There are other advantages to FreeBSD, but kqueue is definitely
> at the top of the list.
>
> Alan

What would it take to get Linus to give the nod to an implementation conforming
to the kqueue API?  I remember him saying that he only wanted it to work for
file descriptors, and to only allow one kqueue per process - neither of which I
agree with.  The abstraction penalty for the capability of multiple filter types
and kqueue-as-selectable-fd is as minimal as a table lookup and a pointer
indirection.  If the kqueue API is overengineered, well, then, so is the
Berkeley Sockets API.

--
Jonathan Graehl
  http://jonathan.graehl.org/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



RE: 4.3-BETA netmask problem

2001-03-23 Thread Peter Blok

Right! A stupid dial-up connection I wasn't thinking of

-Original Message-
From: Ruslan Ermilov [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 08:32
To: Peter Blok; Garrett Wollman
Cc: [EMAIL PROTECTED]
Subject: Re: 4.3-BETA netmask problem


On Thu, Mar 22, 2001 at 09:45:12PM +0100, Peter Blok wrote:
> Hi,
>
> I'm having a strange problem. I have a block public ip addresses at
> X.Y.Z.128/28. My FreeBSD 4.3-BETA system has assigned IP address X.Y.Z.140
> netmask 255.255.255.240, broadcast X.Y.Z.143.
>
> I don't use routed. I have one static host route to a particular host.
>
> Here's the problem when somebody tries to access me from the outside with
IP
> A.B.C.D  I'm getting messages:
>
> /kernel: arplookup A.B.C.D failed: host is not on local network
> /kernel: arpresolve: can't allocate llinfo A.B.C.Drt
>
> I arplookup is right! The IP address is not on the local network. Why is
> arplookup displaying this? What is wrong? I am also not able to slogin to
> this public address.
>

On Thu, Mar 22, 2001 at 04:23:48PM -0500, Garrett Wollman wrote:
> < said:
>
> > /kernel: arplookup A.B.C.D failed: host is not on local network
> > /kernel: arpresolve: can't allocate llinfo A.B.C.Drt
>
> Show us the output of `route -nv get A.B.C.D'.

And we will see that this route has an indirect gateway!


Cheers,
--
Ruslan Ermilov  Oracle Developer/DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: Linux Vs. FreeBSD Networking Performance

2001-03-23 Thread Alan L. Cox

Jonathan Graehl wrote:
> 
> What would it take to get Linus to give the nod to an implementation conforming
> to the kqueue API?  I remember him saying that he only wanted it to work for
> file descriptors, and to only allow one kqueue per process - neither of which I
> agree with.  The abstraction penalty for the capability of multiple filter types
> and kqueue-as-selectable-fd is as minimal as a table lookup and a pointer
> indirection.  If the kqueue API is overengineered, well, then, so is the
> Berkeley Sockets API.
> 

You should ask the "other" Alan Cox.  I'm the one
with the FreeBSD commit bit as opposed to the Linux
commit bit.  :-)

In general, I agree with your statements in regards
to kqueue().  It's not overengineered.  The capabilities
beyond simple poll/select functionality are quite useful
in practice.  In fact, I contributed the current API
by which AIO can signal I/O completion through kevent().

Alan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



3com pcmcia install

2001-03-23 Thread Satish Sambandham

Hi,

I have a 3com 3CXFE575CT pcmcia network card and need some help having
it recongnized on FreeBSD 4.2 on a Toshiba Tecra 8100. During the install, I
picked the default address for the card, and irq 11.  At which time the link
light appeared for the card ( but did not make the usual "beep" that occurs
when activated when I was running linux before ).  Anyhow, after
installation the link light still shows up, but when i do an ifconfig, the
card is not shown.  So basically, I was wondering how would I enable this
card?

Thanks for any help,
Satish


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: 3com pcmcia install

2001-03-23 Thread Barney Wolff

IIRC, this is a cardbus card. Those are only supported in current,
not 4.x.  Get a cheap 16-bit pcmcia, for now.
Barney Wolff

On Fri, Mar 23, 2001 at 11:00:07PM -0500, Satish Sambandham wrote:
> Hi,
> 
> I have a 3com 3CXFE575CT pcmcia network card and need some help having
> it recongnized on FreeBSD 4.2 on a Toshiba Tecra 8100. During the install, I
> picked the default address for the card, and irq 11.  At which time the link
> light appeared for the card ( but did not make the usual "beep" that occurs
> when activated when I was running linux before ).  Anyhow, after
> installation the link light still shows up, but when i do an ifconfig, the
> card is not shown.  So basically, I was wondering how would I enable this
> card?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: gif(4) question

2001-03-23 Thread JINMEI Tatuya / 神明達哉

> On Thu, 22 Mar 2001 16:02:10 -0500, 
> "David E. Cross" <[EMAIL PROTECTED]> said:

> Why is routing done via the ::1 and 127.0.0.1 network addresses?  I notice
> for "normal" interfaces it is bound directly to "link#2" and such. 

It's just a characteristic (or ristriction if you want to say that) of
BSD's IPv4 routing on point-to-point interfaces.  I don't know the
deep rationale.

> I realize I don't really know what I am talking about here, but, it
> seems that binding it to the link is more efficient than having it go
> through the loopback interface.

I'm not sure what you mean "efficient" here.  But using addresses to
install a route to the loopback interface does not decrease the output
performance.

> Also, it will work in cases where the 
> loopback is not defined (don't ask... just don't ask)

That's not true.  In the BSD's routing architecture, if  you want to
install a route of a particular address family to an interface, you
need at least one interface address of the address family on the
interface.  The address need not to be the well-defined "loopback
address", though.

JINMEI, Tatuya
Communication Platform Lab.
Corporate R&D Center, Toshiba Corp.
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message