Updated Tuning man page on web

2001-05-25 Thread Matt Dillon
Here's where I'll be keeping the tuning man page update until I commit it saturday evening. I've already made some improvements. http://apollo.backplane.com/FreeBSD/tuning.man http://apollo.backplane.com/FreeBSD/tuning.html (man -> html generated using) grof

Re: RE: Preliminary Tuning man page (was Re: Benchmarking FreeBSD (w

2001-05-25 Thread Matt Dillon
:[ snip ] : :Nice! One thing to note in the filesystem tuning is that newfs can :turn on softupdates at newfs time now with -U, at least in -current. I'll clarify it. :> .Sh HISTORY :> The :> .Nm :> manual page was originally written by :> .An Matthew Dillon :> and first appeared :> in :>

Re: general speed differences between 4.1.1-RELEASE and 4.3-RELEASE

2001-05-25 Thread Ed Hudson
the cost of soft updates, and the cost of hw.ata.wc=0 enclosed is a .jpeg of an xgraph of the following interactive test: a monitor computer, rsh's to a test machine and does a 'date' command, then waits 5 seconds, and repeats. on the test machine, an athlon 1.2gig / 266fsb / 512meg/133(266ddr

Re: technical comparison

2001-05-25 Thread Matt Dillon
Ultimately something like Reiser will win over UFS, but performance figures aren't the whole picture. Most of the bugs have been worked out of UFS and the recovery tools are extremely mature. Only a handful of edge cases have been found in the last decade. Nearly all the bugs

RE: Preliminary Tuning man page (was Re: Benchmarking FreeBSD (w

2001-05-25 Thread John Baldwin
On 25-May-01 Matt Dillon wrote: > Ok, here is my first shot at a 'tuning' manual page. If anyone wants > to review it, I am open to all suggestions, grammatical and formatting, > fixes etc... just email me with the changes (do not email the entire > document back to me, just a di

Re: technical comparison

2001-05-25 Thread Matt Dillon
One word: B+Tree. Hash tables work well if the entire hash table fits into memory and you know (approximately) what the upper limit on records is going to be. If you don't, then a B+Tree is the only proven way to go. (sure, there are plenty of other schemes, some hybrid, some

Preliminary Tuning man page (was Re: Benchmarking FreeBSD (was ...))

2001-05-25 Thread Matt Dillon
Ok, here is my first shot at a 'tuning' manual page. If anyone wants to review it, I am open to all suggestions, grammatical and formatting, fixes etc... just email me with the changes (do not email the entire document back to me, just a diff). It's not 100% complete (well duh!),

Re: Device Driver Doc. (ddwg.ps)

2001-05-25 Thread Munish Chopra
On Fri, May 25, 2001 at 01:25:08PM -0700, SJ wrote: > Hi all, > I am looking for the file "ddwg.ps" or "ddwg.pdf" > (device driver documentation). > > Is it available on web? Though I'm pretty sure it's available several places, I'm also pretty sure it's a bit outdated :) You might want to try

Re: gcc (cpp) include search path problem

2001-05-25 Thread David O'Brien
On Thu, May 24, 2001 at 05:55:38AM -0400, Brent Verner wrote: > IMO, the search path for cpp should include /usr/local/include, > especially since we install ports there. That would be wrong. We install ports where ever you tell the system to. That could be /usr/reall-cool-FreeBSD-treats/ or a

Re: general speed differences between 4.1.1-RELEASE and 4.3-RELEASE

2001-05-25 Thread Terry Lambert
] That mood is nice in theory, but doesn't seem to fit practice. My boxes ] are on UPSes, and I have trouble remembering the last time the power went ] out. On the other hand, I can clearly remember the last panic ] on my -current box which required a manual fsck to repair (yesterday). ] And yes

Re: technical comparison

2001-05-25 Thread Terry Lambert
] It's got nothing to do with the basics of software engineering or ] computer science. It's got to do with interface definitions and ] APIs. ] ] Where in open(1) does it specify a limit on the number of files ] permissible in a directory? The closest that it comes, that I can ] see is: [ ...

Re: technical comparison

2001-05-25 Thread Terry Lambert
] Nothing in Unix stops you from putting millions of files in a ] directory. There are (I mantain _obviously_) good reasons to ] want to do that. The only thing that stops you is that _some_ ] Unix platforms, using _some_ file systems, behave badly if you ] do that. There are _no_ good reasons

Re: technical comparison

2001-05-25 Thread Terry Lambert
] > ] > 1. I don't think I've ever seen a Linux distro which has write ] > ] >caching enabled by default. Hell, DMA33 isn't even enabled ] > ] >by default ;) ] > ] ] > ] You are talking about controlling the IDE drive cache. ] > ] ] > ] The issue here is write cache in the filesystem cod

Re: technical comparison

2001-05-25 Thread Greg Black
I would have sent this to the original author if he had used a proper email address on his post; sorry to those who don't want to see it. | > | I have files fooX where X is a number from 0 to 6 in that | > | directory. I need to find a piece of information, so I run that | > | informatio

Device Driver Doc. (ddwg.ps)

2001-05-25 Thread SJ
Hi all, I am looking for the file "ddwg.ps" or "ddwg.pdf" (device driver documentation). Is it available on web? thanks SJ __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ To Unsubscribe: sen

Re: general speed differences between 4.1.1-RELEASE and 4.3-RELEASE

2001-05-25 Thread Doug Barton
Mike Silbersack wrote: > > On Thu, 24 May 2001, Doug Barton wrote: > > > The current mood (which I agree with) is to make softupdates the default > > after installation. The problem with the combo of write caching and > > softupdates is that if the power actually goes off the meta-data wri

Re: gcc (cpp) include search path problem

2001-05-25 Thread Jacques A. Vidrine
[This is most likely a ports issue, so kicked to -ports] On Fri, May 25, 2001 at 10:56:42PM +0300, Peter Pentchev wrote: > On second thoughts, you might have a problem if you are trying to > install the wget port in a location other than /usr/local. > If you change PREFIX, then the -I{PREFIX}/inc

Re: gcc (cpp) include search path problem

2001-05-25 Thread Peter Pentchev
On Thu, May 24, 2001 at 05:55:38AM -0400, Brent Verner wrote: > Hi, > > I'm not sure if this has been the default for gcc/cpp on FBSD > for a while but I noticed it since some ports failed to build > due to includes (present in /usr/local/include) not being found. > Has this changed, or is t

Re: Benchmarking FreeBSD (was Re: technical comparison)

2001-05-25 Thread Matt Dillon
:Jordan Hubbard <[EMAIL PROTECTED]> writes: :> Erm, folks? Can anyone please tell me what this has to do with :> freebsd-hackers any longer? : :While the thread has diverged from it's original intent, there is :something related I consider to be a more interesting topic. If it's :still not appr

useloopback variable

2001-05-25 Thread Bob Willcox
I am working on a network device driver that is currently forced to talk to it'self (RX/TX cables are looped back into it) and I am trying to get the system to not use the loopback interface but send the packets to my driver. I have cleared the net.link.ether.inet.useloopback sysctl variable but

Re: panics with 4GB on an IBM xSeries 330

2001-05-25 Thread Terry Lambert
] We have a 4GB IBM xSeries 330 (1GHz PIII) and I can't get 4.3-RELEASE to ] boot on it. I did set NKPT to 64 as suggested by DG about a week ago on ] this list (this is also the reason I take this to -hackers rather than ] -questions). Still, I get ] panic: swap_pager_swap_init: swap_zone=NULL ]

Re: general speed differences between 4.1.1-RELEASE and 4.3-RELEASE

2001-05-25 Thread Dominic Marks
Hi, On Fri, May 25, 2001 at 12:10:49PM -0500, Mike Silbersack wrote: > > On Thu, 24 May 2001, Doug Barton wrote: > > And stuck in the middle is a growing number of people who are seeing a > noticeable slowdown with 4.3, and will start telling their friends that > FreeBSD is slow. > > Mike "Sil

Re: technical comparison

2001-05-25 Thread .
Greg Black writes: > "Andresen,Jason R." wrote: > > | On Thu, 24 May 2001, void wrote: > | > | > On Wed, May 23, 2001 at 09:20:51AM -0400, Andresen,Jason R. wrote: > | > > > | > > Why is knowing the file names cheating? It is almost certain > | > > that the application will know the names of it

Re: general speed differences between 4.1.1-RELEASE and 4.3-RELEASE

2001-05-25 Thread Mike Silbersack
On Thu, 24 May 2001, Doug Barton wrote: > The current mood (which I agree with) is to make softupdates the default > after installation. The problem with the combo of write caching and > softupdates is that if the power actually goes off the meta-data writes > that softupdates postpones an

Re: general speed differences between 4.1.1-RELEASE and 4.3-RELEASE

2001-05-25 Thread Shannon Hendrix
On Thu, May 24, 2001 at 11:19:44PM -0700, Doug Barton wrote: > The current mood (which I agree with) is to make softupdates the default > after installation. The problem with the combo of write caching and > softupdates is that if the power actually goes off the meta-data writes > that soft

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-25 Thread Jacques A. Vidrine
On Thu, May 24, 2001 at 01:24:03PM -0700, Matt Dillon wrote: > > :Because `all telnet really does is connect to sockets' is patently > :false. Check out the nearly 100 RFCs detailing the TELNET protocol. > :Almost none of these make much sense to do over UNIX domain sockets > :[1]. > >

Re: removing inb()/outb() from devices

2001-05-25 Thread Warner Losh
In message <[EMAIL PROTECTED]> j mckitrick writes: : I will newbussify all macros, and any inb/outb calls i find that are not : inside a probe function. : : How is that? Ummm, including inb/outb that are in the probe would be better. This would allow us to write a pcmcia attachment to the ppc

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-25 Thread Jacques A. Vidrine
On Thu, May 24, 2001 at 12:56:28PM -0600, Lyndon Nerenberg wrote: > As a more general solution I have an inetd that groks AF_UNIX. You > would have to add chroot/jail support to it, though, and some would > argue that that's making inetd a bit featureful. I dunno. Somehow it makes more sens

Re: removing inb()/outb() from devices

2001-05-25 Thread j mckitrick
| Yes, but it does make sense to do that. Some busses you cannot access | the resources until they have been activated. pcmcia comes to mind :-). ah, but of course. :-) Well, then, let me know if my plan is acceptable: I will newbussify all macros, and any inb/outb calls i find that are not

Re: removing inb()/outb() from devices

2001-05-25 Thread Warner Losh
In message <[EMAIL PROTECTED]> j mckitrick writes: : In the probe routines, the values of the hardware ports are changing from : one chipset to the next. Throughout the ppc driver, the regular macros are : used to access the parallel port control registers, but in the probe routine : it reverts t

Re: removing inb()/outb() from devices

2001-05-25 Thread j mckitrick
One more question: In the probe routines, the values of the hardware ports are changing from one chipset to the next. Throughout the ppc driver, the regular macros are used to access the parallel port control registers, but in the probe routine it reverts to inb/outb, probably because it makes

Re: removing inb()/outb() from devices

2001-05-25 Thread j mckitrick
On Thu, May 24, 2001 at 08:06:58PM -0600, Warner Losh wrote: | In message <[EMAIL PROTECTED]> j mckitrick writes: | : I'd like to finalize the newbus work by changing inb()/outb() calls to | : bus_space_write calls. Is there a device where this has been partially done | : already? I'd like to se

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-25 Thread Brian Somers
> > : > :On Wed, 23 May 2001, Matt Dillon wrote: > : > :> Nice one! I'm going to be using this all over the place myself. > : > :I am missing something here. Is there a practical use for this? :) > : > :Jamie > > Many programs these days use unix-domain sockets as a rendezvous > fo

RE: modified FreeBSD gateway

2001-05-25 Thread Urban Olsson
Thank you for the answers. I will check out the NATd code and start there. The code I will be writing is so similar to NAT so I can probably use this code with minor changes. << Urban > -Original Message- > From: Gunther Schadow [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 25, 2001 2:

Re: sys/uio.h UIO_MAXIOV hidden inside _KERNEL

2001-05-25 Thread David Malone
On Thu, May 24, 2001 at 10:36:13PM -0400, John wrote: >Can someone provide some insight as to why UIO_MAXIOV > is hidden inside _KERNEL? According to SUSv2 the corect #define to use here is IOV_MAX, which unfortunately we don't seem to define anywhere. Steven's Unix programming book says: