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 important part. This would probably

Re: Possible libc_r pthread bug

2001-12-04 Thread Alfred Perlstein
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? -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why

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 (ctxtype != CTX_UC). You shouldn't test

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 contexts are not saved as a result of a signal interrupt (ctxtype != CTX_UC

Re: [SUGGESTION] - JFS for FreeBSD

2001-12-10 Thread Alfred Perlstein
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 ignoring 30 years of accumulated wisdom.' http://www.morons.org

Re: [SUGGESTION] - JFS for FreeBSD

2001-12-10 Thread Alfred Perlstein
with the EXT2FS filesystem. This is pretty much how they all work, on netbsd the LFS filesystem has its own suite of seperate utilities as well. Don't be discouraged, get hacking! :) -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start

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 going to be a bit more complicated than just dumping

Re: Possible libc_r pthread bug

2001-12-04 Thread Alfred Perlstein
-cancelflags PTHREAD_CANCEL_ASYNCHRONOUS) != 0)) + cfl = curthread-cancelflags; + cfl = (PTHREAD_CANCEL_ASYNCHRONOUS|PTHREAD_AT_CANCEL_POINT); + if (cfl != 0) pthread_testcancel(); /* -- -Alfred Perlstein [[EMAIL

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 here

Re: uiomove performance?

2001-12-13 Thread Alfred Perlstein
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 software is using 1970s technology, start asking why software is ignoring

Re: Performance issue

2001-12-14 Thread Alfred Perlstein
on. -- -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.' http://www.morons.org/rants/gpl-harmful.php3 To Unsubscribe: send mail to [EMAIL

Re: Performance issue

2001-12-14 Thread Alfred Perlstein
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 PROTECTED]] 'Instead of asking why

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

2001-12-14 Thread Alfred Perlstein
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 postgresql, then yes. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking

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

2001-12-15 Thread Alfred Perlstein
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 or not the firmware is being asked to handle them at all. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using

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
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 the fsck on traditional UFS. Yeah, but that's not mentioned in the whitepaper! :) -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software

Re: userland program panics freebsd 4.3

2001-12-20 Thread Alfred Perlstein
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 accumulated wisdom.' http://www.morons.org/rants/gpl-harmful.php3 To Unsubscribe: send

Re: Another filesystem test program

2001-12-20 Thread Alfred Perlstein
://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 software is using 1970s technology, start asking

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, based

Re: The care and feeding of Vnodes?

2001-12-22 Thread Alfred Perlstein
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 30 years of accumulated wisdom.' Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to [EMAIL

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_LOCAL flag in f_flags.

loadable aio

2001-12-26 Thread Alfred Perlstein
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 FreeBSD: http://www.freebsdfoundation.org

Re: userland program panics freebsd 4.3

2001-12-27 Thread Alfred Perlstein
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 asking why software is ignoring 30 years of accumulated

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

2001-12-27 Thread Alfred Perlstein
. 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 provide it directly, I don't have time to search the archives, remeber who is asking for help, eh? :) -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking

Re: userland program panics freebsd 4.3

2001-12-27 Thread Alfred Perlstein
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? Anything you can divulge about how this program operates? -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software

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, December 27, 2001 4:00 PM Subject: Re: userland program panics freebsd 4.3 ok

Re: 802.11b PCI card problems (part II)

2001-12-28 Thread Alfred Perlstein
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 is the vendor's website? Can you ask them for more info? -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece

Re: Tell gcc I have a i686

2002-01-04 Thread Alfred Perlstein
) 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 PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology

oddness in aio_procrundown?

2002-01-05 Thread Alfred Perlstein
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 1970s technology, start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductable donations

[patch] psm hacks for kvm problems.

2003-10-15 Thread Alfred Perlstein
; /* * A kludge for Kensington device! -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL PROTECTED] cell: 408-480-4684 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

HOWTO: install without floppy, cdrom, or pxe.

2003-12-01 Thread Alfred Perlstein
be automated[1], perhaps by setting the boot partition to the swap partition and setting it up temporarily as a ufs filesystem and then... oh... well... [1] http://www.jerkcity.com/jerkcity1426.html -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL PROTECTED] cell: 408-480-4684

Re: HOWTO: install without floppy, cdrom, or pxe.

2003-12-01 Thread Alfred Perlstein
* Colin Percival [EMAIL PROTECTED] [031201 00:27] wrote: At 00:18 01/12/2003 -0800, Alfred Perlstein wrote: Then type these commands into the loader: unload kernel load /ikernel load -t mfs_root /mfsroot set vfs.root.mountfrom boot ^^ Surely that should

support for __thread

2003-12-21 Thread Alfred Perlstein
How do I get __thread to work for me? http://gcc.gnu.org/onlinedocs/gcc/Thread-Local.html it seems the assembler chokes on it? -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL PROTECTED] cell: 408-480-4684 ___ [EMAIL

Re: support for __thread

2003-12-21 Thread Alfred Perlstein
* Alfred Perlstein [EMAIL PROTECTED] [031221 02:47] wrote: How do I get __thread to work for me? http://gcc.gnu.org/onlinedocs/gcc/Thread-Local.html it seems the assembler chokes on it? Taking this code: #include stdio.h __thread int x; int main(int argc, char **argv) { printf(duh

Re: support for __thread

2003-12-21 Thread Alfred Perlstein
* Daniel Eischen [EMAIL PROTECTED] [031221 12:08] wrote: On Sun, 21 Dec 2003, Alfred Perlstein wrote: * Alfred Perlstein [EMAIL PROTECTED] [031221 02:47] wrote: How do I get __thread to work for me? http://gcc.gnu.org/onlinedocs/gcc/Thread-Local.html it seems the assembler

Re: support for __thread

2003-12-21 Thread Alfred Perlstein
* Daniel Eischen [EMAIL PROTECTED] [031221 14:31] wrote: On Sun, 21 Dec 2003, Alfred Perlstein wrote: * Daniel Eischen [EMAIL PROTECTED] [031221 12:08] wrote: On Sun, 21 Dec 2003, Alfred Perlstein wrote: * Alfred Perlstein [EMAIL PROTECTED] [031221 02:47] wrote: How do I get

[PATCH] sendfile erroniously returns ENOTCONN.

2004-01-02 Thread Alfred Perlstein
= ENOTCONN; - goto done; - } if (uap-offset 0) { error = EINVAL; goto done; -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL PROTECTED] cell: 408-480-4684 ___ [EMAIL

Re: [PATCH] sendfile erroniously returns ENOTCONN.

2004-01-02 Thread Alfred Perlstein
not to? The one reason I figured was that sometimes blocking sigpipe can be hairy inside libraries. Now that we can selectively disable SIGPIPE using the setsockopt using Apple's code this is less of an issue. -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL

Re: [PATCH] sendfile erroniously returns ENOTCONN.

2004-01-03 Thread Alfred Perlstein
of an issue. Yes, I think checking for SS_CATSENDMORE (and returning EPIPE) prior to checking SS_ISCONNECTED (and returning ENOTCONN as it does now) is the right thing to do. Last question (I hope)... :) Why not call sosend? -- - Alfred Perlstein - Research Engineering Development Inc. - email

turn .so into .o?

2004-01-06 Thread Alfred Perlstein
Is there a way to turn a .so into a .o? I would like to link something statically, and I'm doing a bunch of work on the symbol table and would like to avoid a mess with using ar(1). -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL PROTECTED] cell: 408-480-4684

help with linking please

2004-01-09 Thread Alfred Perlstein
after I combine the object files. Any hints? -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL PROTECTED] cell: 408-480-4684 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: help with linking please

2004-01-10 Thread Alfred Perlstein
* Dag-Erling Sm?rgrav [EMAIL PROTECTED] [040110 03:17] wrote: Alfred Perlstein [EMAIL PROTECTED] writes: I'm having a hell of a time doing this so I can produce a static .o or .a with most of the symbols stripped. Two problems seem to be that even if I use ld -r -o main.o obj1.o obj2.c

Re: help with linking please

2004-01-13 Thread Alfred Perlstein
* Tim Kientzle [EMAIL PROTECTED] [040113 15:41] wrote: Alfred Perlstein wrote: It will refuse to strip symbols if: foo.o:func1() references bar.o:func2(). But I need it to. I suppose there are good reasons why you cannot compile everything into a single .o file for distribution

Re: sysv_ipc regression suite

2002-08-12 Thread Alfred Perlstein
* Andrew R. Reiter [EMAIL PROTECTED] [020805 09:15] wrote: On Mon, 5 Aug 2002, Alfred Perlstein wrote: :Can anyone point out or provide me with a suite to regression test :sysv_ipc, specifically semaphores, message queues and shared memory? : :I'm working on SMP locking those subsystems

sem_init help?

2002-09-18 Thread Alfred Perlstein
that did the sem_init? Or am I going to have to do some nastyness to record the memory location where the semaphore is and track that page's allocation? little help here... :) -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start asking

Re: sem_init help?

2002-09-18 Thread Alfred Perlstein
* Daniel Eischen [EMAIL PROTECTED] [020918 18:40] wrote: On Wed, 18 Sep 2002, Alfred Perlstein wrote: Ok, any of you guys have a copy of the standards documents that describe the sem_* API? I have a question... What are the semantics of the sem_init when pshared is set to true

Re: sem_init help?

2002-09-18 Thread Alfred Perlstein
have a problem with it unless it's not necessary, I'll see if I can get access to solaris to figure out wth they do. :) -- -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: libfetch bug.

2002-09-20 Thread Alfred Perlstein
* Kris Kennaway [EMAIL PROTECTED] [020920 14:46] wrote: On Mon, Sep 16, 2002 at 09:37:21PM -0700, Alfred Perlstein wrote: libfetch seems to have a bug such that if a disconnect happens at a particular point it spins in a tight loop. I tracked it down to this fix: I'm still seeing

Re: cvs commit: src/bin/sleep sleep.c

2002-11-14 Thread Alfred Perlstein
* Nate Lawson [EMAIL PROTECTED] [021114 15:42] wrote: Please see earlier threads on hackers@ about bloat in libc and dynamic linking of /[s]bin. Tim Kientzle submitted a patch that breaks exit's dependency on malloc which saves space in the programs that don't otherwise use malloc. I don't

Re: cvs commit: src/bin/sleep sleep.c

2002-11-15 Thread Alfred Perlstein
(finally!). -- -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.' To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body

Re: cvs commit: src/bin/sleep sleep.c

2002-11-15 Thread Alfred Perlstein
* Matthew Dillon [EMAIL PROTECTED] [021115 12:17] wrote: :Will the knobs allow one to link /bin and /sbin against full blown :libc? That would be nice as we can then start using pam and user :management in / with dynamic modules (finally!). : :-- :-Alfred Perlstein [[EMAIL PROTECTED

uma issues with ctor/dtor/uminit/fini

2002-11-17 Thread Alfred Perlstein
case to uma_zalloc, but who knows... -- -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.' To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd

rfork DoS

2003-01-09 Thread Alfred Perlstein
the refcount on the fdesc is still 0 we leave it alone and leak lock structures. p1 exits Does this make sense as a problem area? I think we should only allow filedesc sharing if RFTHREAD is set. RFTHREAD seems to get it right because of the peers/leader mechanism. thanks, -- -Alfred

Re: rfork DoS

2003-01-09 Thread Alfred Perlstein
to set either RFPROC or RFTHREAD. Yes, the manpage is out of date. What the hell is a sigact anyhow? Can someone please fixup the manpage? :) -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start asking why software is ignoring 30 years

kevent kernel expert.

2003-02-13 Thread Alfred Perlstein
. thank you, -- -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.' To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body

rfc, optimizing select/poll.

2003-02-15 Thread Alfred Perlstein
I'm asking is... Can anyone state ahead of time why they would object to this? (please reply publically) Who will test it? (privately plz) Thanks! -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start asking why software

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
. 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 accumulated wisdom.' Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org

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 the

Re: serial console + boot blip

2002-01-10 Thread Alfred Perlstein
, before I dig in code to patch/fix it. :-) No dammit, tell your stupid serial console device thingy to ignore carrier detection :P -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start asking why software is ignoring 30 years

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 mail to

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 tips. Tip 1:

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 :of your patch

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 could

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: ftpd patch that saves me a lot of hassle

2002-01-20 Thread Alfred Perlstein
to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message -- -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

Re: cpu info in userland

2002-01-22 Thread Alfred Perlstein
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 Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start

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 binary

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 the

Re: vm and vfs_bio

2002-01-25 Thread Alfred Perlstein
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. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece

Re: NMBCLUSTERS question

2002-01-28 Thread Alfred Perlstein
, 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 mail to [EMAIL PROTECTED

Re: kernel fork execve

2002-01-30 Thread Alfred Perlstein
: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using

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 completion at

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 is called

Re: File name.

2002-02-03 Thread Alfred Perlstein
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]] 'Instead of asking why a piece of software is using 1970s technology, start asking

Re: stack alignment issues

2002-02-04 Thread Alfred Perlstein
the initial stack, the chance that gcc will have auto-alignment added sounds to be about zero. You might as well go ahead with your patch when 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

Re: stack alignment issues

2002-02-05 Thread Alfred Perlstein
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 1970s technology, start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductable donations for FreeBSD: http

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 it, but

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 runs 30+

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

2002-02-12 Thread Alfred Perlstein
: 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 flag... any takers on that one? :) -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead

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] : David O'Brien [EMAIL PROTECTED] writes

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. Warner Losh [EMAIL PROTECTED] [020212 10:35] wrote: Well, we

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 to run

Re: in-kernel HTTP Server for FreeBSD?

2002-02-17 Thread Alfred Perlstein
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 perf boost without needing to stick the _entire_ thing into the kernel. -- -Alfred Perlstein [[EMAIL PROTECTED

usb header not c++ friendly.

2002-02-18 Thread Alfred Perlstein
, 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: http://www.freebsdfoundation.org/ To Unsubscribe: send mail

Re: usb header not c++ friendly.

2002-02-18 Thread Alfred Perlstein
subclass; u_int8_tprotocol; u_int8_tconfig; -- -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

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: 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 make

Re: In-Kernel HTTP Server (name preference)

2002-02-19 Thread Alfred Perlstein
into another process context via kernel threads, posix aio or kses. -- -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

USB structure rename

2002-02-19 Thread Alfred Perlstein
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 PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start asking why software

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

2002-03-01 Thread Alfred Perlstein
other. -- -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 Unsubscribe: send mail to [EMAIL

Re: Swapping performance

2002-03-07 Thread Alfred Perlstein
, 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 PROTECTED]] 'Instead of asking why a piece of software is using 1970s technology, start

Re: Swapping performance

2002-03-07 Thread Alfred Perlstein
, 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 is ignoring 30 years of accumulated wisdom.' Tax deductible donations

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/vmware1/nt1.*).

Re: A question of VM page ownership

2002-03-07 Thread Alfred Perlstein
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: 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 PROTECTED]] To Unsubscribe: send

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 btree... or to make Alfred happy... a skiplist... ;^). Argh, someone

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 allows

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

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 descriptor, loop, etc. However when I try to do this recv gives me back

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

2002-03-13 Thread Alfred Perlstein
, 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 technology, start asking why software is ignoring 30 years

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

2002-03-13 Thread Alfred Perlstein
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

<    2   3   4   5   6   7   8   9   10   >