mpsafe malloc

2002-04-02 Thread Alfred Perlstein
ther locking. ? -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To

Re: dlopen(), ld.so, and library wrappers

2002-04-02 Thread Alfred Perlstein
d from a shared library, all subsequent shared libraries are searched. RTLD_NEXT is useful for implementing wrappers around library functions. For example, a wrapper function getpid() could access the ``real'' getpid() with dlsym(RTLD_NEXT, "getpid"). How

Re: Question about possibly additions to TOP

2002-04-01 Thread Alfred Perlstein
* Jon Ringuette <[EMAIL PROTECTED]> [020401 19:20] wrote: > Sorry to bother everyone here but I have a quick question (or I guess > what I hope is a quick question). I have made some modifications to > src/usr.bin/machine.c to allow TOP to run in a jail (I have mostly just > taken out kvm_read

Re: uma and double free detection?

2002-03-27 Thread Alfred Perlstein
* Jeff Roberson <[EMAIL PROTECTED]> [020327 14:16] wrote: > On Wed, 27 Mar 2002, Alfred Perlstein wrote: > > > Can uma diagnose double free's? It doesn't seem to be able to > > under a GENERIC config. :( > > > > Oh! Thanks for pointing this ou

Re: uma and double free detection?

2002-03-27 Thread Alfred Perlstein
* Terry Lambert <[EMAIL PROTECTED]> [020327 13:30] wrote: > Alfred Perlstein wrote: > > > > Can uma diagnose double free's? It doesn't seem to be able to > > under a GENERIC config. :( > > THat's an INVARIANTS thing, even without UMA... /u

uma and double free detection?

2002-03-27 Thread Alfred Perlstein
Can uma diagnose double free's? It doesn't seem to be able to under a GENERIC config. :( -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulate

Re: idprio

2002-03-26 Thread Alfred Perlstein
* Andrew <[EMAIL PROTECTED]> [020326 14:27] wrote: > > > On Tue, 26 Mar 2002, Terry Lambert wrote: > > > > Sure it can, if the idprio process has locked a vnode trying to update > > But if system calls aren't preempted under what circumstances can a > process hold a vnode lock and then be usur

Re: CVS expansion question.

2002-03-19 Thread Alfred Perlstein
egex: -I regexp Ignore changes that just insert or delete lines that match regexp. so you can do: cvs diff -u -I '$FreeBSD' you can pass multiple -I options. hope this helps. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a p

Re: Kernel debugger and X11.

2002-03-19 Thread Alfred Perlstein
; raised secure level, if you are going to be able to use X11. > > The GGI people have bent over backwards on licensing to try > and get the FreeBSD people to adopt this code, but apparently > people are not doing enough console debugging from having > run X11 for this to push its way i

usb breakage.

2002-03-19 Thread Alfred Perlstein
Please review this fix. Index: dev/usb/uhci.c === RCS file: /home/ncvs/src/sys/dev/usb/uhci.c,v retrieving revision 1.87 diff -u -r1.87 uhci.c --- dev/usb/uhci.c 16 Mar 2002 12:44:21 - 1.87 +++ dev/usb/uhci.c 19 M

Re: simple binary patch utility (for iso cdrom images)

2002-03-16 Thread Alfred Perlstein
* Clark C . Evans <[EMAIL PROTECTED]> [020316 14:34] wrote: > I looked around for quite a while for a simple program > to do a binary patch on an iso cdrom image. I was hoping > that I could use "bvi" or similar binary editor, but it > wasn't clear how I could get them to do simple string > repla

Re: Interesting sysctl variables in Mac OS X with hw info

2002-03-13 Thread Alfred Perlstein
available would also help quite a bit for avoiding false sharing for allocation of data structures in smp. -- -Alfred Perlstein [[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Recv() to a mmap'ed file?

2002-03-13 Thread Alfred Perlstein
hould be EINVAL... maybe i can be forgiven, though, given > the time at which i wrote the message :-) Why should we hide the fact that you are on a brain dead archetecture? :) -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technolo

Re: Recv() to a mmap'ed file?

2002-03-12 Thread Alfred Perlstein
* Farooq Mela <[EMAIL PROTECTED]> [020312 21:56] wrote: > Alfred Perlstein wrote: > > > > * Farooq Mela <[EMAIL PROTECTED]> [020312 13:01] wrote: > > > > > > Rather than the usual recv() to a fixed size buffer, write() to the > > > file desc

Re: How to correctly detect POSIX 1003.1b features on FreeBSD?

2002-03-12 Thread Alfred Perlstein
* Craig Rodrigues <[EMAIL PROTECTED]> [020312 16:35] wrote: > > Can someone tell me how I can detect if these functions are available > on a system at compile time? I cannot use an autoconf type of test, > and need to use a preprocessor macro type of test. __FreeBSD__version. -Alfred To Unsub

Re: Recv() to a mmap'ed file?

2002-03-12 Thread Alfred Perlstein
* Farooq Mela <[EMAIL PROTECTED]> [020312 13:01] wrote: > > Rather than the usual recv() to a fixed size buffer, write() to the > file descriptor, loop, etc. However when I try to do this recv gives > me back an EFAULT (bad address). Is there a limitation of the > architecture which does not al

Re: in_pcblookup_hash() called multiple times

2002-03-07 Thread Alfred Perlstein
* Mike Silbersack <[EMAIL PROTECTED]> [020307 22:35] wrote: > > On Thu, 7 Mar 2002, Alfred Perlstein wrote: > > > * Terry Lambert <[EMAIL PROTECTED]> [020307 22:24] wrote: > > > > > > If it were just the pcbhash, I think I'd go with a bt

Re: in_pcblookup_hash() called multiple times

2002-03-07 Thread Alfred Perlstein
* Terry Lambert <[EMAIL PROTECTED]> [020307 22:24] wrote: > > If it were just the pcbhash, I think I'd go with a btree... > or to make Alfred happy... a skiplist... ;^). Argh, someone hand me the firehose, Terry seems really thirsty... -- -Alfred Perlstein [[EMAIL PROTECT

Re: A question of VM page ownership

2002-03-07 Thread Alfred Perlstein
page to support it being associated with one object. see src/sys/vm/vm_page.h -Alfred Perlstein [[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Bug? still looking, yet to knock up small test case. Suggestions solicited.

2002-03-07 Thread Alfred Perlstein
* Jan Grant <[EMAIL PROTECTED]> [020307 08:12] wrote: > Something odd seems to be happening; I'd appreciate "look here" > suggestions. I suspect mmapped pages aren't being flushed but gawd alone > knows why. > > Situation: vmware2, with a "fake disk", files in the /external FS > (/external/vmware

Re: Swapping performance

2002-03-07 Thread Alfred Perlstein
fastest platform for building our software indexes, which requires a lot >of math and memory operations. Also, which version of FreeBSD? -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software

Re: Swapping performance

2002-03-07 Thread Alfred Perlstein
fastest platform for building our software indexes, which requires a lot >of math and memory operations. > > --- with bzero --- > Linux$ time ./malloc_test Could you explain what "malloc_test" actually does and/or share the code? -- -Alfred Perlstein [[EMAIL PROTEC

Re: httpd in malloc(): warning: recursive call (FreeBSD error??)

2002-03-01 Thread Alfred Perlstein
che and php. I'm not sure what causes it, possibly some bugs if you somehow got the two out of sync with each other. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring

Re: FreeBSD, SMP and Performance Speeds?

2002-02-28 Thread Alfred Perlstein
ted *after* its release? Yes. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfo

USB structure rename

2002-02-19 Thread Alfred Perlstein
#x27; but who actually don't have any code using the USB stack. I'd really like to maintain source compatiblity with NetBSD so let's come to some sort of agreement please? I can even do the delta for NetBSD if it will be accepted. thanks, -- -Alfred Perlstein [[EMAIL PROTEC

Re: In-Kernel HTTP Server (name preference)

2002-02-19 Thread Alfred Perlstein
on of the file you wish to read in the buffer cache then the process will block waiting. There is simply nothing you can do about this other than to offload that blocking into another process context via kernel threads, posix aio or kses. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of

Re: make in freebsd

2002-02-19 Thread Alfred Perlstein
* Erik Trulsson <[EMAIL PROTECTED]> [020219 01:06] wrote: > > One potential problem is that 'make' on different platforms can differ > in many details. > Some of the features of BSD make that are used by the portmakefiles for > example are not supported by GNU make (which is used on Linux) GNU ma

Re: usb header not c++ friendly.

2002-02-19 Thread Alfred Perlstein
* Kip Macy <[EMAIL PROTECTED]> [020219 00:12] wrote: > http://web.netapp.com/engineering/projects/raidv2/testing/global/ > > > > > uh, yeah it's not my header. > Oh duh, sorry... > If you do that then you have to modify all the files including it > correspondingly. Will putting an extern "C

Re: usb header not c++ friendly.

2002-02-18 Thread Alfred Perlstein
_class; +#else u_int8_tclass; +#endif u_int8_tsubclass; u_int8_t protocol; u_int8_tconfig; -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking w

usb header not c++ friendly.

2002-02-18 Thread Alfred Perlstein
pping linux USB ioctl's to *bsd USB ioctls, any clues? -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD:

Re: in-kernel HTTP Server for FreeBSD?

2002-02-17 Thread Alfred Perlstein
second for 1x1 gifs or several thousand per second (saturating 100mbit) for larger images. I also used kqueue. The real problem is that most of the generic web servers available (as well as most commercial ones) just suck for handling IO and events. A well thought out design can give you quite a

Re: Clearcase and FreeBSD

2002-02-17 Thread Alfred Perlstein
* Robert Withrow <[EMAIL PROTECTED]> [020217 08:13] wrote: > Hi: > > I was wondering if there was anyone working on getting ClearCase working > on FreeBSD? > > It seems that if we can get the Linux version of VmWare to run on FreeBSD > it should be possible to get the Linux version of ClearCase

Re: AWK/perl hacker needed to assist the Sparc64 port

2002-02-12 Thread Alfred Perlstein
* David O'Brien <[EMAIL PROTECTED]> [020212 14:33] wrote: > On Tue, Feb 12, 2002 at 05:23:31PM -0500, Adrian Filipi-Martin wrote: > > > In message: <[EMAIL PROTECTED]> > > > Alfred Perlstein <[EMAIL PROTECTED]> writes: > > > : * M.

Re: AWK/perl hacker needed to assist the Sparc64 port

2002-02-12 Thread Alfred Perlstein
* M. Warner Losh <[EMAIL PROTECTED]> [020212 10:46] wrote: > In message: <[EMAIL PROTECTED]> > Alfred Perlstein <[EMAIL PROTECTED]> writes: > : * M. Warner Losh <[EMAIL PROTECTED]> [020212 10:35] wrote: > : > In message: <[EMAIL PROTECTED]&

Re: AWK/perl hacker needed to assist the Sparc64 port

2002-02-12 Thread Alfred Perlstein
pl rev 1.19 to have all the functionality the perl > : version has today. > > Would a 'C' hacker do :-) Heh, I wish someone would add some extra regex and seperator type stuff to our 'sh' that became available when running it under another name or with a special fl

Re: vfs.ufs.dirhash_docheck?

2002-02-07 Thread Alfred Perlstein
* Henk Wevers <[EMAIL PROTECTED]> [020207 11:58] wrote: > Hi, > > Just to try the "thing" out i did put vfs.ufs.dirhash_docheck to 1. > My active memory use was in 30 minutes 75 MB lower, and the io is > faster, the load is lower. > The OS is FreeBSD 4.5-REL with 1250MB ram on a PIII 733, it run

Re: stack alignment issues

2002-02-05 Thread Alfred Perlstein
* Matthew Dillon <[EMAIL PROTECTED]> [020205 12:28] wrote: > > I've been forced to add -mpreferred-stack-boundary=2 to critical code > in certain projects to get rid of the crap GCC adds to the assembly. > > I don't mind if GCC aligns the stack for routines that actually need > i

Re: stack alignment issues

2002-02-05 Thread Alfred Perlstein
. > > It's clearly the result of work in progress :-). I see really cruddy stuff like this every time i do a gcc -S, don't they watch for and try to fix this sort of thing? -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1

Re: stack alignment issues

2002-02-04 Thread Alfred Perlstein
you get a chance. I agree, either way we should try to optimized the current situation, especially if it seems to give a 2x perf boost! -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is

Re: File name.

2002-02-03 Thread Alfred Perlstein
ot wheel 4 Feb 4 01:39 f2 However there's a dirty way to get at it via the vfs lookup cache entries hung off the vnode. Paul Saab showed me a delta that did something nasty like this, but I've got no clue as to where it is now. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instea

stack alignment issues (was: unbelievable benchmark output)

2002-02-03 Thread Alfred Perlstein
* Michal Mertl <[EMAIL PROTECTED]> [020203 08:17] wrote: > I wrote a simple program which does this: > > gettimeofday > something (takes several seconds) > gettimeofday > print time elapsed > > Several runs of the program take about the same time but the time > changes wildly when the executable

Re: Clock Granularity (kernel option HZ)

2002-02-01 Thread Alfred Perlstein
* Luigi Rizzo <[EMAIL PROTECTED]> [020201 00:25] wrote: > On Thu, Jan 31, 2002 at 04:59:31PM -0800, Terry Lambert wrote: > > > > You will get a factor of 6 (approximately) improvement in > > throughput vs. overhead if you process packets to completion > > at interrupt, and process writes to compl

Re: kernel fork & execve

2002-01-30 Thread Alfred Perlstein
l ? > > I have some problem to pass the arguments ... > > > > Thanks > > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > > with "unsubscribe freebsd-hackers" in the body of the message > > > > > To Unsubscribe:

Re: NMBCLUSTERS question

2002-01-28 Thread Alfred Perlstein
machine with only 64M, will > it crash and burn? Also are clusters allocated out of the VM_KMEM_SIZE or out > of remaining memory? Most of the nmbclusters are borrowed from banned AOL users with too much time on their hands. -- -Alfred Perlstein [[EMAIL PROTECTED]] To Unsubscribe: send

Re: vm and vfs_bio

2002-01-25 Thread Alfred Perlstein
will ask here. When a user > does a read (followed by open) on a file, the kernel must allocate vnode > corresponding to that file right? Assuming the file is not memory-mapped > by any other process, would the vnode still have a valid v_object field? If it is VMIO then yes. -- -Alf

Re: 2.2.8-STABLE -export-dynamic workaround for ld?

2002-01-23 Thread Alfred Perlstein
* Are Bryne <[EMAIL PROTECTED]> [020123 21:13] wrote: > Hello, > > I am trying to get PostgreSQL 7.1.3 compiled on a FreeBSD 2.2.8-STABLE > system (that will hopefully be upgraded in not too long, just not yet :). > > I am having problems with the linker not supporting -export-dynamic, and > th

Re: suspected dying CD-writer ?

2002-01-23 Thread Alfred Perlstein
* Thierry Herbelot <[EMAIL PROTECTED]> [020123 14:24] wrote: > Hello, > > I've got an SCSI CD-Writer, which only gives errors when I try to use > cd-record (see full log at the end of the message) > > As the problem is identical on a fresh 4.4-Rel (with cd-record installed > from the CD as a bin

Re: cpu info in userland

2002-01-22 Thread Alfred Perlstein
meone post a dmesg with an SMP system with > differently clocked CPUs in it so this is a potential concern. > > -- > Any statement of the form "X is the one, true Y" is FALSE. > PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 -- -Alfred Perls

Re: ftpd patch that saves me a lot of hassle

2002-01-20 Thread Alfred Perlstein
."); > + return; > + } > + > if (mkdir(name, 0777) < 0) > perror_reply(550, name); > else > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message --

Re: [nicole@unixgirl.com: What is biord?]

2002-01-16 Thread Alfred Perlstein
* David Malone <[EMAIL PROTECTED]> [020116 14:30] wrote: > On Wed, Jan 16, 2002 at 02:18:25PM -0800, Josef Grosch wrote: > > I have a mysql database that seems slow and when looking at it in top it > > always seems to be in a state of biord > > What the heck is biord I can't find this anywere >

Re: Almost diskless workstation

2002-01-16 Thread Alfred Perlstein
* Robert Thoelen III <[EMAIL PROTECTED]> [020116 11:29] wrote: > Sorry about the previous empty post. I am trying > create a filesystem on a server running FreeBSD at > work. I would like to create a floppy that would > mount the filesystem by NFS. This way, on any given > machine at work, I co

Re: Need review of NFS patch set for server .. missing/wrong vput() issues

2002-01-16 Thread Alfred Perlstein
* Matthew Dillon <[EMAIL PROTECTED]> [020116 10:51] wrote: > > : > :In message <[EMAIL PROTECTED]>, Matthew Dillon wri > :tes: > :>Ok, cool. I'll get the commit gears started for the > :>first part of the patch. > : > :FYI, I was able to reproduce this and confirm that the first part >

Re: New DOC/FAQ entry.. kernel contribution guidance

2002-01-16 Thread Alfred Perlstein
* Julian Elischer <[EMAIL PROTECTED]> [020116 10:40] wrote: > > > On Wed, 16 Jan 2002, K S Sreeram wrote: > > > Hi > > > > My name is K.S.Sreeram, and i am very much interested in contributing to > > the > [...] > > Sounds like you are ideally suited to this:-) > > here are some starting

Re: How well does EVFILT_AIO work?

2002-01-13 Thread Alfred Perlstein
* Julian Elischer <[EMAIL PROTECTED]> [020113 16:20] wrote: > the threads package doesn't do file IO asynchronoulsy > in fact there ahve been several people threatenning to use AIO > to make the threads package to that asychronously too. >;) SIGFAULT as well. :) -Alfred To Unsubscribe: send ma

Re: serial console + boot blip

2002-01-10 Thread Alfred Perlstein
config which would fix my problem. > > Is that an unreasonable behavior? I want to make sure I'm going down > the right road, before I dig in code to patch/fix it. :-) No dammit, tell your stupid serial console device thingy to ignore carrier detection :P -- -Alfred Perlste

Re: serial console + boot blip

2002-01-10 Thread Alfred Perlstein
* Leo Bicknell <[EMAIL PROTECTED]> [020110 12:26] wrote: > > I have a few machines configured for serial consoles (my first), > and have found an oddity. > > Basically I did the "-P" boot.config thing, and the 'set > console=comconsole' in loader.rc. This works fine. I then run a > getty on th

Re: Is there anyway from userspace to get the 'enum vtagtype v_tag' for a vnode for an open file?

2002-01-08 Thread Alfred Perlstein
t; Hmmm, getfsspec seems to fill the need. Sorry for the noise. I think you want fstatfs(2). -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of

oddness in aio_procrundown?

2002-01-05 Thread Alfred Perlstein
aiocbe->fd_file; if (fp) { so = (struct socket *)fp->f_data; TAILQ_REMOVE(&so->so_aiojobq, aiocbe, list); -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1

Re: Tell gcc I have a i686

2002-01-04 Thread Alfred Perlstein
ething like this (for gnu-make) > Arch = $(shell arch) > cc .. -DArch . > > and inside the program > > #ifdef i686 > > But arch doesn't exist on FreeBSD. Isn't this somewhat trivial? ARCH=i686 CFLAGS+=-D${ARCH} ? -- -Alfred Perlstein [[EMAIL PROTECTE

Re: 802.11b PCI card problems (part II)

2001-12-28 Thread Alfred Perlstein
have the standard PCI card that people are getting, mine looks like this: wi0: port 0xff00-0xff3f,0xfc00-0xfc7f mem 0xffbee000-0xffbeefff irq 11 at device 13.0 on pci0 The fact that your card doesn't have a memory map concerns me that it's not what we're expecting. Where

Re: userland program panics freebsd 4.3

2001-12-27 Thread Alfred Perlstein
* Michael Scheidell <[EMAIL PROTECTED]> [011227 15:11] wrote: > > - Original Message ----- > From: "Alfred Perlstein" <[EMAIL PROTECTED]> > To: "Michael Scheidell" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Thursday, De

Re: userland program panics freebsd 4.3

2001-12-27 Thread Alfred Perlstein
= (struct proc *) 0x8000 > (kgdb) print sp->f_flags > Cannot access memory at address 0x37. Ah, ok, I did see this before. Can you print: *mp, *sp, *p, *((struct vnode *)fp->f_data) Can you tell me what filesystem this is over? Do you have any special tunables set in your kernel? A

Re: userland program panics freebsd 4.3 (now 4.4 also)

2001-12-27 Thread Alfred Perlstein
emails' > > I was told to go to FBSD 4.4-STABLE due to 'many fixes' in the kernel. > I did. > this was just an update. > > Problem seems to be in the vm section of the kernel. I the most recent backtrace would be the most helpful, so would program source, please

Re: userland program panics freebsd 4.3

2001-12-27 Thread Alfred Perlstein
ovide this program or a kernel stack trace from this crash please? http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start askin

loadable aio

2001-12-26 Thread Alfred Perlstein
commit it if it works for you, or let me know if I can. thanks, -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductable donations for F

Re: Repost - f_type value in statfs structure

2001-12-22 Thread Alfred Perlstein
* Wayne Pascoe <[EMAIL PROTECTED]> [011222 17:13] wrote: > Chad David <[EMAIL PROTECTED]> writes: > > > > The issue that I am having is detecting valid filesystems to do > > > further checks on. I am only interested in checking local filesystems > > > such as UFS. > > > > Check for the MNT_LOCA

Re: The care and feeding of Vnodes?

2001-12-22 Thread Alfred Perlstein
caused corruption of other data. Without source to your failed experiment it will be hard to determine what the problem is. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring

Re: Adding si_fd to struct __siginfo ...

2001-12-21 Thread Alfred Perlstein
* Richard Sharpe <[EMAIL PROTECTED]> [011221 15:11] wrote: > Hi, > > One of my tasks is to add oplock support to FreeBSD so that we (Panasas) > can allow correct caching of files by Windows clients in the presence of > NFS clients using the same files. > > We have a preliminary implementation,

Re: Another filesystem test program

2001-12-20 Thread Alfred Perlstein
D: > > http://apollo.backplane.com/FreeBSD/fsstress-1.00.tgz ports/regression ? This would be really nifty, it could be a depot for various test programs, unless of course we want it to be in src/ ? -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of softwa

Re: userland program panics freebsd 4.3

2001-12-20 Thread Alfred Perlstein
other than vague references to "things being broken". For the time being I'll assume it's PEBKAC. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of

Re: Found NFS data corruption bug... (was Re: NFS: How to make FreeBSD fall on its face in one easy step )

2001-12-18 Thread Alfred Perlstein
arge volume when it's idle, and who > > By the way the journaling filesystems don't neccessary guarantee that > you won't need fsck: for example, if VXFS crashes at a particularly > bad moment, it will require you to do "fsck -o full" which is as slow > as th

Re: Does anyone know if the Broadcom BCM5700 has problems with HW csum?

2001-12-15 Thread Alfred Perlstein
the problem only exists if VLAN > >tagging is enabled. > >You would believe wrongly, then, because the problem that I was seeing did > not involve VLAN tags. You're probably incorrect, it doesn't matter if vlan tags are active or not, it's most likely wheather

Re: shared mem and locking it in core (Database usage)

2001-12-14 Thread Alfred Perlstein
max: 128004097 > kern.ipc.shmmin: 1 > kern.ipc.shmmni: 512 > kern.ipc.shmseg: 1024 > kern.ipc.shmall: 31251 > kern.ipc.shm_use_phys: 1 <- This wires the mem right? > > Yes postgres shows to be 119M via top, but is this mem wired? As long as you set the sysctl before starting pos

Re: Performance issue

2001-12-14 Thread Alfred Perlstein
to each and every freebsd install and do a make world? The point is we can do this dynamically, in fact we don't even need to teach the linker how to do it, we can do it via the startup scripts by checking a sysctl and providing the subdir to ldconfig. :) -- -Alfred Perlstein [[EMAIL

Re: Performance issue

2001-12-14 Thread Alfred Perlstein
more sense is to teach the dynamic linker to look for archetecture specific subdirectories in order to dynamically link in a shared object more suited to the running CPU, not the CPU it was compiled on. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software

Re: uiomove performance?

2001-12-13 Thread Alfred Perlstein
If you have a routine using memcpy then you're effectively making the UIO as you go, making the additional copy is just stupid. It should be trivial to convert the routine and I strongly suggest doing so. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of

Re: NFS: How to make FreeBSD fall on its face in one easy step

2001-12-13 Thread Alfred Perlstein
* void <[EMAIL PROTECTED]> [011213 11:00] wrote: > Has anyone brought this code to the attention of the NetBSD people? > I imagine that they would be interested. If not, I will forward it > along myself, as soon as I determine the appropriate list. (List > recommendations from the dual citizens

Re: [SUGGESTION] - JFS for FreeBSD

2001-12-10 Thread Alfred Perlstein
* Terry Lambert <[EMAIL PROTECTED]> [011211 00:48] wrote: > Alfred Perlstein wrote: > > [ ... Hiten wants someone to GPLify FreeBSD ... ] > > > I'm glad you took the time to read the marketting literature. > > > > The problem is that porting it is go

Re: [SUGGESTION] - JFS for FreeBSD

2001-12-10 Thread Alfred Perlstein
l sticky point, especially since the GPL and BSD > licences are like oil and water. Because of the GPL licence, JFS support > can never become part of the GENERIC kernel, and any related support tools > will have to exist as separate binaries (newfs.jfs, fsck.jfs), as is > curren

Re: [SUGGESTION] - JFS for FreeBSD

2001-12-10 Thread Alfred Perlstein
it more complicated than just dumping it into src/gnu. Feel free to take a shot at porting it though, let us know when you're done. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is

Re: statefulness in character device drivers

2001-12-08 Thread Alfred Perlstein
* Robert Watson <[EMAIL PROTECTED]> [011208 19:43] wrote: > > On Sat, 8 Dec 2001, Alfred Perlstein wrote: > > > Yes, but afaik without a way to differenciate between two opens. Being > > able to notice whether a file is being operated on via which open is the > &g

sendfile libc_r fix.

2001-12-08 Thread Alfred Perlstein
{ /* * Number of bytes written in headers/trailers, plus in the main -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.

Re: statefulness in character device drivers

2001-12-08 Thread Alfred Perlstein
7;m sure tracking dup/dup2/fcntl would be > >preferable in the general case. > > first open/last close has been the UNIX way for decades... Yes, but afaik without a way to differenciate between two opens. Being able to notice whether a file is being operated on via which open is the imp

Re: statefulness in character device drivers

2001-12-08 Thread Alfred Perlstein
his with the pid, but you > still have no idea what is going on in any amount of detail. Does linux track dup/fcntl? One of the things is that a default VOP for this means that the underlying vnode doesn't care, hence we can make it nop-ish right? -- -Alfred Perlstein [[EMAIL PROTECTED]

Re: pthread_create problem on 4.4-STABLE w/ Custom Kernel

2001-12-07 Thread Alfred Perlstein
* Jesse Granden <[EMAIL PROTECTED]> [011207 21:47] wrote: > > > Here's my kernel conf file, mostly stripped of comments... I think you should sort the VM related lines into a single section then perform a binary search by eliminating half of them at a time to figure out how you're breaking thin

Re: pthread_create problem on 4.4-STABLE w/ Custom Kernel

2001-12-07 Thread Alfred Perlstein
'd today > respond in email also please... No clue, what _have_ you changed? -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.

Re: statefulness in character device drivers

2001-12-07 Thread Alfred Perlstein
the consensus now ? Is it going > >to be added, and if so, when ? > > Uhm, I don't hink I understand your question here... Most likely he means a per-open(2) opaque datum that is kept in struct file and passed to the underlying routines. -- -Alfred Perlstein [[EMAIL PROTEC

Re: kld VM pager

2001-12-06 Thread Alfred Perlstein
t later access to its internal second 32K memory bank. > how can you handle such issue after vm_fault? By setting the proper page protections. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why sof

Re: kld VM pager

2001-12-06 Thread Alfred Perlstein
od part for having a fault hook in linux is most likely for debug purposes. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.'

Re: Can TCP changes be put in RELENG_4?

2001-12-06 Thread Alfred Perlstein
memory. *shrug* It's not that difficult, but my TODO list is about 2 miles long at the current time. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumula

Re: Tracking down system freeze

2001-12-06 Thread Alfred Perlstein
* Warner Losh <[EMAIL PROTECTED]> [011205 23:00] wrote: > In message <[EMAIL PROTECTED]> Alfred Perlstein writes: > : What you do is fold a paperclip then use it to make the last > : two pins of the ISA bus short: > > and it doesn't work on PCI bus, or any other b

Re: Tracking down system freeze

2001-12-05 Thread Alfred Perlstein
hat I had that it didn't work on didn't have any damage though. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.'

Re: wc* function

2001-12-05 Thread Alfred Perlstein
om scratch. It seems that freebsd has implemented some of the functions in wchar.h, but not many or none of the ones in wctype.h. NetBSD seems to have these integrated, you can crib from them as I am trying to do with my miniscule free time. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instea

Re: Possible libc_r pthread bug

2001-12-04 Thread Alfred Perlstein
* Daniel Eischen <[EMAIL PROTECTED]> [011204 12:32] wrote: > Alfred Perlstein wrote: > > > > * Dan Eischen <[EMAIL PROTECTED]> [011204 06:26] wrote: > > > > > > There are already cancellation tests when resuming threads > > > whose co

Re: Possible libc_r pthread bug

2001-12-04 Thread Alfred Perlstein
* Alfred Perlstein <[EMAIL PROTECTED]> [011204 11:45] wrote: > * Dan Eischen <[EMAIL PROTECTED]> [011204 06:26] wrote: > > > > There are already cancellation tests when resuming threads > > whose contexts are not saved as a result of a signal interrupt > >

Re: Possible libc_r pthread bug

2001-12-04 Thread Alfred Perlstein
to the interrupted context so that it can check for cancellation > (and other things) before returning to the threads interrupted > context. No way to work around this? Shouldn't the thread exit library know which stack exactly to clean up even in the context of a signal handler? -

Re: Possible libc_r pthread bug

2001-12-04 Thread Alfred Perlstein
cfl = curthread->cancelflags; + cfl &= (PTHREAD_CANCEL_ASYNCHRONOUS|PTHREAD_AT_CANCEL_POINT); + if (cfl != 0) pthread_testcancel(); /* -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of

Re: wctype.h

2001-12-03 Thread Alfred Perlstein
the correctness of an implementation then i may be able to integrate it from netbsd. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.'

Re: FreeBSD performing worse than Linux?

2001-11-30 Thread Alfred Perlstein
FreeBSD at home seems to cause stalls, I'll try my netbsd laptop at home and see if i can reproduce the problem. I thought it was my crappy DSL causing the issue, perhaps not. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of softwar

Re: Found the problem, w/patch (was Re: FreeBSD performing worse than Linux?)

2001-11-30 Thread Alfred Perlstein
* Jonathan Lemon <[EMAIL PROTECTED]> [011130 17:00] wrote: > On Fri, Nov 30, 2001 at 04:28:32PM -0600, Alfred Perlstein wrote: > > > > I have an odd theory that makes use of my waning remeberence of the > > stack behavior, this may be totally off base but I'd app

<    1   2   3   4   5   6   7   8   9   10   >