does pthread package support kernel threads ?

2000-11-29 Thread Mohit Aron
Hi, FreeBSD provides the pthread package (available through the use of the option -pthread to gcc). Does this package use user-level threads or does it use kernel threads ? I believe the kernel supports multiple threads in the same address space using the rfork() system call. - Mohit

slab allocator for FreeBSD

2000-11-17 Thread Mohit Aron
Hi, does anyone know of a slab allocator implementation for BSD ? Linux now supports a slab allocator in the kernel for efficient allocation and deallocation of memory objects. - Mohit P.S. more info on slab allocator can be obtained from the USENIX 1994 paper: http://www.usen

Re: FreeBSD kernel as a replacement for Linux kernel

2000-05-23 Thread Mohit Aron
> > Perhaps we should go just a bit further with that approach and make > things _write_ into that hierarchy first as well, e.g. if you run > /compat/linux/bin/bash and then install something with rpm, it will > install (as far as it's concerned) into /usr/bin, /usr/lib, etc. but > really be chr

Re: FreeBSD kernel as a replacement for Linux kernel

2000-05-23 Thread Mohit Aron
> > On the other hand, commercial apps usually have very precise instructions > as to what one should do. If you're a little creative you can generally > break the rules to get these to run on FreeBSD. For instance, I installed > StarOffice by timing the length of the binary first-stage installe

Re: FreeBSD kernel as a replacement for Linux kernel

2000-05-23 Thread Mohit Aron
> > First of all, FreeBSD's kernel can use both the Linux and FreeBSD > interfaces at once. Although it might be possible to remove the FreeBSD > interfaces, then all you have are the Linux ones - it sounds like a loss > in functionality to me. Second, the Linux emulator is actually extremely >

Re: FreeBSD kernel as a replacement for Linux kernel

2000-05-23 Thread Mohit Aron
> > I think you need to keep in mind that FreeBSD is more than just the > kernel, in contrast to Linux. The tight integration and control of all > of the userspace tools makes system management much easier IMHO with > FreeBSD than any Linux distribution I have used. This is especially true > whe

Re: FreeBSD kernel as a replacement for Linux kernel

2000-05-23 Thread Mohit Aron
> > We already have a pretty complete implementation of the Linux kernel ABI - > most of the problems with running Linux binaries on FreeBSD comes from > userland stuff: missing libraries, etc. It's not "Linux emulation" - see > http://www.freebsd.org/handbook/x18949.html > Yes, which is why

Re: FreeBSD kernel as a replacement for Linux kernel

2000-05-23 Thread Mohit Aron
> > That sounds a lot like the DaemonLinux project: > > http://synack.net/daemonlinux/ > > Except it appears to have died stillborn. > And not without reason. Their proposal aimed to replace FSF utilities with BSD equivalents - I don't think they are considering the kernel as a utilit

FreeBSD kernel as a replacement for Linux kernel

2000-05-23 Thread Mohit Aron
Hi, I apologize beforehand if this topic has already been discussed at length here or elsewhere. More and more commerical sites are providing software packages that contain binaries for Linux. While FreeBSD does provide Linux emulation, this is often flaky and breaks down more often tha

enabling APIC without SMP

2000-03-08 Thread Mohit Aron
Hi, I'm using a FreeBSD-current snapshot from 3rd January 2000. It seems that in order to enable APICs (option APIC_IO in kernel configuration file), one needs to also compile the kernel with SMP support (option SMP in kernel configuration file). While enabling the APIC is desirable even o

Re: question regarding FreeBSD memory mgmt

2000-01-16 Thread Mohit Aron
Hi, thanks for telling me about this. I don't care if it isn't there in 2.2.6, I managed to figure the code out in 3.x and add the appropriate code to 2.2.6 to do just what I wanted. - Mohit >STABLE (3.x) has a memcontrol(8) program that can do just that. > I don't know off hand wh

FreeBSD-4.0 on SMP

2000-01-04 Thread Mohit Aron
Hi, I have a 4-processor machine but I want to configure FreeBSD-4.0 to only use 1 of the processors for some tests. In addition I want the local APIC to be enabled. It seems currently that the APIC is only enabled when the kernel is compiled with the SMP option. However, when I spec

Re: new Intel 100Mbps card

1999-12-05 Thread Mohit Aron
> > If you can't find the id on the chip, I'll see what I can track down at > Intel tomorrow. > I am looking up the Intel website. The chip indeed is 82559. Also there doesn't seem to be a correlation between the chip and the PCI device_id. I have two network cards (I mentioned them in my l

Re: new Intel 100Mbps card

1999-12-05 Thread Mohit Aron
> >From your other email it sounds like it has an 82559. Intel has been > shipping that for more than a year as well on boards that ID as 0x1229, > so apparantly the chip being used doesn't correlate with the ID number. I mentioned another similar card in my last posting. That one I got fro

Re: new Intel 100Mbps card

1999-12-05 Thread Mohit Aron
> > Bah. It sounds like an Intel ploy so that they can trivially identify > these cards and put the "right" name up in the Windows network setup box. > This isn't quite what the idea was with PCI IDs originally. 8( Probably. One of our faculty actually bought what seems like a slightly diffe

Re: new Intel 100Mbps card

1999-12-05 Thread Mohit Aron
> > > #define FXP_VENDORID_INTEL 0x8086 > > #define FXP_DEVICEID_i825570x1229 > >+#define FXP_DEVICEID_i825580x1030 > >This wouldn't be correct. The 82558 has been used for years on Pro/100+ > boards and they ID as 0x1229. > Sorry, I forgot to say about the above. Since Wes P

Re: new Intel 100Mbps card

1999-12-05 Thread Mohit Aron
> > It's probably an 82558 chip. Does it support Wake-on-LAN? > Not sure what Wake-on-LAN means. I believe there are some cards out there now that support some kind of network management. This is not that if that helps. > > Add the device IDs to the list in the driver and recompile. If it

new Intel 100Mbps card

1999-12-05 Thread Mohit Aron
Hi, I got some new Intel 10/100Mbps network interfaces recently, but unfortunately found that FreeBSD (version 4.0-19990827-CURRENT) doesn't recognize them. These are called the "Intel InBusiness 10/100 PCI Network Adaptor". Unfortunately, these are the only ones supported in the stores no

paper on fine-grained OS timers

1999-10-12 Thread Mohit Aron
Hi, I'd like to tell the BSD community about my paper entitled "Soft timers: efficient microsecond software timer support for network processing" that's going to appear in SOSP 1999. The abstract for the paper is attached below. The gzip'd postcript for the paper can be downloaded from:

sbappend() is not scalable

1999-10-08 Thread Mohit Aron
Hi, I recently did some experiments with TCP over a high b/w-delay path and found a scalability problem in sbappend(). The experimental setup consisted of a 100Mbps network with a round-trip delay of 100ms. Under this situation, FreeBSD's TCP version is incapable of attaining more than 65

limit on number of sockets by zone allocator

1999-09-18 Thread Mohit Aron
Hi, I was recently doing some throughput tests with the Apache webserver on FreeBSD-4.0. It seems that the recently introduced (after FreeBSD-2) zone allocator limits the maximum number of socket structures to about 8000 (I configured my kernel with 256 MAXUSERS). A busy webserver can have

limit on number of sockets by zone allocator

1999-09-18 Thread Mohit Aron
Hi, I was recently doing some throughput tests with the Apache webserver on FreeBSD-4.0. It seems that the recently introduced (after FreeBSD-2) zone allocator limits the maximum number of socket structures to about 8000 (I configured my kernel with 256 MAXUSERS). A busy webserver can hav

TLB miss handler for alpha running FreeBSD-4.0

1999-09-16 Thread Mohit Aron
Hi, as I understand it, TLB misses on the alpha are handled by the software (as opposed to x86 where they are handled in hardware). Can someone help me with the FreeBSD code. I'm trying to locate the kernel code that implements the TLB handler. I'd appreciate if someone can tell me how the

TLB miss handler for alpha running FreeBSD-4.0

1999-09-16 Thread Mohit Aron
Hi, as I understand it, TLB misses on the alpha are handled by the software (as opposed to x86 where they are handled in hardware). Can someone help me with the FreeBSD code. I'm trying to locate the kernel code that implements the TLB handler. I'd appreciate if someone can tell me how th

fxp driver for alpha

1999-09-14 Thread Mohit Aron
Hi, I'm using the latest available snapshot (4.0-19990808-CURRENT) for an Alphaserver 500 workstation. Unfortunately, this version of FreeBSD panics upon seeing an fxp network interface. Does anyone have an updated driver for the Alpha that supports the fxp interface ? There is also a "de

fxp driver for alpha

1999-09-14 Thread Mohit Aron
Hi, I'm using the latest available snapshot (4.0-19990808-CURRENT) for an Alphaserver 500 workstation. Unfortunately, this version of FreeBSD panics upon seeing an fxp network interface. Does anyone have an updated driver for the Alpha that supports the fxp interface ? There is also a "d

paper on improving Webserver performance

1999-07-06 Thread Mohit Aron
in FreeBSD. The abstract of the paper is attached below and the paper is available from: http://cs-tr.cs.rice.edu/Dienst/UI/2.0/Describe/ncstrl.rice_cs/TR99-335/ - Mohit Aron a...@cs.rice.edu Abstract: This paper studies the performance of BSD-based TCP implementations in Web s

paper on improving Webserver performance

1999-07-06 Thread Mohit Aron
in FreeBSD. The abstract of the paper is attached below and the paper is available from: http://cs-tr.cs.rice.edu/Dienst/UI/2.0/Describe/ncstrl.rice_cs/TR99-335/ - Mohit Aron [EMAIL PROTECTED] Abstract: This paper studies the performance of BSD-based TCP implementations in Web s

Re: symorder for FreeBSD-3.x

1999-05-29 Thread Mohit Aron
> > COFF? FreeBSD never supported COFF, to the best of my knowledge. > Sorry, should've said a.out. > You might want to take a look at objcopy(1). > I was interested in functionality given by 'symorder -c' that can localize all function and data definitions in an object file. objcopy() does

linked symbols using kldload

1999-05-28 Thread Mohit Aron
Hi, I'm using FreeBSD-3.2 and am trying to upgrade to the kld interface from the old lkm interface for loadable kernel modules. kldload doesn't seem to produce a linker output file upon loading a module - modload used to do this on the other hand. I've found this output file extremely valua

symorder for FreeBSD-3.x

1999-05-28 Thread Mohit Aron
Hi, its seems that the program symorder only works on coff format object files. Is there an equivalent program in FreeBSD-3.x that works on elf object files ? - Mohit To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message