ALS4000 Sound Chip
I just bought a PCI sound card based on an ALS4000 chip. It seems to be sound blaster compatible (port 0x220 irq 5 drq 1). Do I have a chance to get the card working when modifying /usr/src/sys/dev/sound/isa/sbc.c in such a way that the chip will be recognized in sound blaster mode during pci bus scan? Thanks for any reply or hint! Konrad Konrad HeuerPersonal Bookmarks: Gesellschaft für wissenschaftliche Datenverarbeitung mbH GÖttingen http://www.freebsd.org Am Faßberg, D-37077 GÖttingen http://www.daemonnews.org Deutschland (Germany) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
AuDSL
Hi, I am trying to get AuDSL ( See http://www.araneus.fi/audsl/) to work under FreeBSD. One major problem is that it requires both the read and write channels of the soundcard to be mmap()-able. On 4.3-RELEASE, the following comment can be found in sys/dev/sound/pcm/dsp.c : /* XXX this is broken by line 204 of vm/device_pager.c, so force write buffer */ Is this still the case under -current? If so, is there something I can do to get this to work? regards, jacques To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Query: How to tell if Microsoft is using BSD TCP/IP code?
On Sat, Jun 16, 2001 at 01:16:28PM -0400, [EMAIL PROTECTED] wrote: is BSDI's stack so superior to any of the other BSDs that MS would pay BSDI for it, particularly at a time when BSDI was trying to compete with MS in the server market? Seems like something that a bunch of BSD fanatics conjured up after a few beers. Are you sure that this was Microsoft. The press release that I remember from last year was a Compaq one (or was it SCO), but not Microsoft. Joe PGP signature
Re: Article Network performance by OS
Dag-Erling Smorgrav([EMAIL PROTECTED])@2001.06.17 07:48:27 +: Rik van Riel [EMAIL PROTECTED] writes: Not quite. Linux distributions tend to be extremely conservative in the IDE options (DMA, interrupt unmasking, write caching, etc. all disabled) while FreeBSD seems to have write caching and DMA on by default... Ahem. First of all, Linux' file system (ext2fs) is more or less equivalent, in terms of performance and integrity, to async ffs. This gives Linux a big performance edge out of the box, and FreeBSD a big reliability edge - but benchmark authors rarely care about fs integrity, as shutting off the power during heavy disk I/O isn't generally part of their benchmark. well, IMVHO, it should be ;-) Second, we tried turning write caching on ATA drives off by default, and boy were you (the user community) pissed. Yes, turning wc off shows you just how crappy those non-tagged-queueing 4000 RPM ATA drives you picked up at Fry's for some pocket change are. So we turned it back on. If you're not happy with that, put 'hw.ata.wc=0' in your /boot/loader.conf and they'll be off after the next reboot. Or get real disks. that's one for the handbook, eh? imagine: Q: i got problem {...}, it seems to depend on (ATA|IDE|disk|drive|...) A: get real hardware, you're running a production system, aren't you? it would be a nice thing[tm] to have such stuff in the docs. /k -- Zero Defects, n.: The result of shutting down a production line. KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.net/ karstenrohrbach.de -- alphangenn.net -- alphascene.org -- [EMAIL PROTECTED] GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 BF46 PGP signature
Re: Article Network performance by OS
On Mon, Jun 18, 2001 at 12:34:53PM +0200, Karsten W. Rohrbach wrote: Dag-Erling Smorgrav([EMAIL PROTECTED])@2001.06.17 07:48:27 +: Second, we tried turning write caching on ATA drives off by default, and boy were you (the user community) pissed. Yes, turning wc off shows you just how crappy those non-tagged-queueing 4000 RPM ATA drives you picked up at Fry's for some pocket change are. So we turned it back on. If you're not happy with that, put 'hw.ata.wc=0' in your /boot/loader.conf and they'll be off after the next reboot. Or get real disks. that's one for the handbook, eh? imagine: Q: i got problem {...}, it seems to depend on (ATA|IDE|disk|drive|...) A: get real hardware, you're running a production system, aren't you? it would be a nice thing[tm] to have such stuff in the docs. Can we put your e-mail address below, to direct there all the feedback from home users with IDE drives? :P G'luck, Peter -- If I were you, who would be reading this sentence? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: ALS4000 Sound Chip
On Mon, Jun 18, 2001 at 09:40:27AM +0200, Konrad Heuer wrote: I just bought a PCI sound card based on an ALS4000 chip. It seems to be sound blaster compatible (port 0x220 irq 5 drq 1). Do I have a chance to get the card working when modifying /usr/src/sys/dev/sound/isa/sbc.c in such a way that the chip will be recognized in sound blaster mode during pci bus scan? No, but I have a -stable version of the als4000 driver (author has yet to MFC) if you would like. -- Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED] FreeBSD: The Power To Serve - http://www.FreeBSD.org PGP signature
Re: ALS4000 Sound Chip
On Mon, Jun 18, 2001 at 12:58:39PM +0200, Konrad Heuer wrote: On Mon, 18 Jun 2001, Chris Faulhaber wrote: On Mon, Jun 18, 2001 at 09:40:27AM +0200, Konrad Heuer wrote: I just bought a PCI sound card based on an ALS4000 chip. It seems to be sound blaster compatible (port 0x220 irq 5 drq 1). Do I have a chance to get the card working when modifying /usr/src/sys/dev/sound/isa/sbc.c in such a way that the chip will be recognized in sound blaster mode during pci bus scan? No, but I have a -stable version of the als4000 driver (author has yet to MFC) if you would like. That sounds great - may I get a copy? http://www.fxp.org/jedgar/FreeBSD/als4000-stable.diff and follow the directions contained within. -- Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED] FreeBSD: The Power To Serve - http://www.FreeBSD.org PGP signature
max kernel memory
Hi, I'm trying to give the kernel (4.0-RELEASE) 2Gb of memory to work with. I can afford to have 4Gb of physical memory on one of my servers, and hence the experiments. Is it safe to play around with KERNBASE, and get away without breaking code ? Is there any other advisable method if this one is risky ? -ASR - (`-''-/).___..--''`-._ (\ Indra Networks Pvt. Ltd `6_ 6 ) `-. ( ).`-.__.`)Pune, INDIA. (_Y_.)' ._ ) `._ `. ``-..-' mailto: [EMAIL PROTECTED] _..`--'_..-_/ /--'_.' ,' http://www.rajekar.org (il),-'' (li),' ((!.-' http://www.indranetworks.com - Take Care of the Molehills, and the Mountains Will Take Care of Themselves. -- Motto of the Federal Civil Service To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Injecting a packet with explicit route.
David Preece([EMAIL PROTECTED])@2001.06.18 12:03:09 +: Hi, Due to the wonder of IPFW and divert sockets I have been merrily catching packets, modifying them and reinjecting back in from userland to great effect for some time now. What I would like (need) to do is much the same, but being able to explicitly state which route to take (for a packet going outwards), or being able to tell which route a packet came in from (for a packet coming inwards). ipfilter, see ipf(5), the to (fastroute) option for interface based stuff. if you want to do trasnparent proxy stuff, check ipnat(8) and ipnat(5). if you want some really weird stuff check out ipf's call functionality ;-) /k -- Definition of Windows 95: A 32-bit extension and graphical shell for a 16 Bit patch to an 8 Bit OS originally coded for an 4 Bit CPU, written by a 2-Bit Company that can't stand 1 Bit of competition. KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.net/ karstenrohrbach.de -- alphangenn.net -- alphascene.org -- [EMAIL PROTECTED] GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 BF46 PGP signature
RE: Query: How to tell if Microsoft is using BSD TCP/IP code?
Hmm, anyone seen this then in the Wall Street J ?? Or is this what started this thread (if so I musta missed one somewhere along the line). Ak -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Josef Karthauser Sent: 18 June 2001 11:17 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Query: How to tell if Microsoft is using BSD TCP/IP code? On Sat, Jun 16, 2001 at 01:16:28PM -0400, [EMAIL PROTECTED] wrote: is BSDI's stack so superior to any of the other BSDs that MS would pay BSDI for it, particularly at a time when BSDI was trying to compete with MS in the server market? Seems like something that a bunch of BSD fanatics conjured up after a few beers. Are you sure that this was Microsoft. The press release that I remember from last year was a Compaq one (or was it SCO), but not Microsoft. Joe To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
RE: Query: How to tell if Microsoft is using BSD TCP/IP code?
jeez, forgot the link to WSJ http://public.wsj.com/news/hmc/sb992819157437237260.htm If this is what started this forgive me for being so unobservent, we're a bit slow here in the UK sometimes (well I am that is!) Ak Hmm, anyone seen this then in the Wall Street J ?? Or is this what started this thread (if so I musta missed one somewhere along the line). Ak To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Query: How to tell if Microsoft is using BSD TCP/IP code?
In a message dated 06/17/2001 2:27:59 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: 2. We're not bashing Microsoft here. We're just trying to figure out if their recently published comments that Open Source is bad and inimical to our interests is really just marketspeak which contradicts their own engineering position. - Jordan It wouldnt contradict their marketing position if they are using BSD code, because they dont make source readily available. Using open source for a commercial product which you modify and customize is not the same as making the source available for others to modify and distribute at will. I dont see how proving the microsoft uses open source code in their product proves that open source is generally good for commercial products or corporate interests. All it proves is that open source has some value as a base for more s, which I dont think that anyone, including Microsoft, disagrees with. Bryan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Anyone see todays Wall Street Journal article: Microsoft Using Free Software (or something to that effect)
While I didn't read the article (I saw it when someone was reading the opposite page on the subway today), I thought it might make for some interesting conversation and views on the list. I will try and get a URL for you all to look at later. Thanks. -- Jonathan -- Jonathan M. Slivko [EMAIL PROTECTED] Tech. Support Rep., Black Lotus Communications Server Administrator, AsylumNet IRC Network http://www.blacklotus.net -- check us out! -- ___ ___ Sent via the Pace University Mail system at stmail.pace.edu To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
RE: Mergemaster bug + new feature [patch]
Dear James, I had a mergemaster problem a while back, but I haven't debugged it properly. I had my /etc/ppp symlinked into /home/root/ppp. Then, after a mergemaster run I ended up with a file named /etc/ppp, which had the contents of the new version of /etc/ppp/ppp.conf. This box used to dial out, but no longer does so I did not care about/pursue the problem. Sorry about the scetchy information. Kees Jan PS. I initially read the subject line as mergemaster has one fewer bug and one newly discovered feature. :) You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Anyone see todays Wall Street Journal article: Microsoft Using Free Software (or something to that effect)
Jonathan Slivko wrote: While I didn't read the article (I saw it when someone was reading the opposite page on the subway today), I thought it might make for some interesting conversation and views on the list. I will try and get a URL for you all to look at later. Thanks. -- Jonathan It already has been posted at http://www.daemonnews.org/ Jim -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net - Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
RE: Anyone see todays Wall Street Journal article: Microsoft Using Free Software (or something to that effect)
Like I posted eariler.. http://public.wsj.com/news/hmc/sb992819157437237260.htm Regards Ak While I didn't read the article (I saw it when someone was reading the opposite page on the subway today), I thought it might make for some interesting conversation and views on the list. I will try and get a URL for you all to look at later. Thanks. -- Jonathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Anyone see todays Wall Street Journal article: Microsoft UsingFree Software (or something to that effect)
http://public.wsj.com/news/hmc/sb992819157437237260.htm On Mon, 18 Jun 2001, Jonathan Slivko wrote: While I didn't read the article (I saw it when someone was reading the opposite page on the subway today), I thought it might make for some interesting conversation and views on the list. I will try and get a URL for you all to look at later. Thanks. -- Jonathan -- Jonathan M. Slivko [EMAIL PROTECTED] Tech. Support Rep., Black Lotus Communications Server Administrator, AsylumNet IRC Network http://www.blacklotus.net -- check us out! -- ___ ___ Sent via the Pace University Mail system at stmail.pace.edu To Unsubscribe: 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
RE: Injecting a packet with explicit route.
Dear Karsten, Definition of Windows 95: A 32-bit extension and graphical shell for a 16 Bit patch to an 8 Bit OS originally coded for an 4 Bit CPU, written by a 2-Bit Company that can't stand 1 Bit of competition. That would make Windows 2000 the 64-bit sauce on the 32-bit extension and graphical... Kees Jan You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Anyone see todays Wall Street Journal article: Microsoft UsingFree Software (or something to that effect)
: :http://public.wsj.com/news/hmc/sb992819157437237260.htm Ahhh very nice. BSD is more viral then GPL it would seem :-) It will be interesting to see if MS now tries to rewrite TCP/IP. I got dibs on the front row aisle seat! Where's the popcorn? -Matt To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Query: How to tell if Microsoft is using BSD TCP/IP code?
I'm not sure if this will help or not but Winsock.h, Winsock2.h, and Ws2spi.h which are shipped with visual studio 6 include the following in the header: * This file includes parts which are Copyright (c) 1982-1986 Regents * of the University of California. All rights reserved. The * Berkeley Software License Agreement specifies the terms and * conditions for redistribution. */ http://msdn.microsoft.com/library/psdk/winsock/apistart_9g1e.htm mentions BSD, not sure if is direct enough. I'm downloading the SDK right now so I can grepmonkey through the latest and greatest headers, etc. HTH -- [ Joseph Mallett[EMAIL PROTECTED] ] [ http://srcsys.org ] [ xMach Core Team xMach: Proactively Unbloated Microkernel BSD ] [ FreeBSD, NetBSD, xMach User; (Obj)C(++) Coder ] [ http://xMach.org ] On Fri, 15 Jun 2001, Joseph A. Mallett wrote: Do you happen to have any of their Winsock propoganda handy (specifically developer materials or winsock.h header file)? I know for a fact that they have said repetedly that some of it was taken directly from Berkely. I'm just not sure where... I'm going to start digging through my stuff to see if I can find anything. -- [ Joseph Mallett[EMAIL PROTECTED] ] [ http://srcsys.org ] [ xMach Core Team xMach: Proactively Unbloated Microkernel BSD ] [ FreeBSD, NetBSD, xMach User; (Obj)C(++) Coder ] [ http://xMach.org ] On Fri, 15 Jun 2001, Jordan Hubbard wrote: I've had several marketing types approach me recently for details as to whether or not Microsoft was using the BSD TCP/IP stack and/or user utilities, and though it's always been common knowledge in the community that they were, when I set about to prove it I found it to be less easy than I'd thought. I've strings'd various binaries and DLLs in my copy of Windows 98 but have yet to find anything resembling proof. Does anyone out there have any details or discovery techniques for confirming or disproving this assertion either way? It would be very useful (for us) from a PR standpoint to know. Thanks! - Jordan To Unsubscribe: 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 To Unsubscribe: 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
Re: Anyone see todays Wall Street Journal article: Microsoft UsingFree Software (or something to that effect)
On Mon, 18 Jun 2001, Matt Dillon wrote: :http://public.wsj.com/news/hmc/sb992819157437237260.htm Ahhh very nice. BSD is more viral then GPL it would seem :-) It will be interesting to see if MS now tries to rewrite TCP/IP. I got dibs on the front row aisle seat! Where's the popcorn? Those who can, write code...those who can't, re-appropriate code and turn into multi-billion dollar corporations. ;-) -marc To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Anyone see todays Wall Street Journal article: Microsoft Using Free Software (or something to that effect)
As I understand the BSD license anyone can use it, however, they must say that they are using it, no? So if MS is using TCP/IP code (or any other code from FreeBSD), are they not in violation of the license by not including such a clause in their license or documentation? What am I missing here? Matthew At 09:14 AM 6/18/2001 -0700, Matt Dillon wrote: : :http://public.wsj.com/news/hmc/sb992819157437237260.htm Ahhh very nice. BSD is more viral then GPL it would seem :-) It will be interesting to see if MS now tries to rewrite TCP/IP. I got dibs on the front row aisle seat! Where's the popcorn? -Matt To Unsubscribe: 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
Re: XFree86
On Sat, 19 May 2001, Huff wrote: I can't get XFree86 to work. Using /stand/sysinstall I use the script and configure everything manually to the best of my knowledge. I can't find any specs on the monitor I'm using (The Monitor is from the Toshiba Infinia 7200) so I'm not sure of the Vertical and Horizontal refresh rates, If you can dualboot into windows, or have a windows machine nearby, you could try the different resolutions, and write down the frequencies from the on-screen display, if the monitor got one. Leif To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
RE: Query: How to tell if Microsoft is using BSD TCP/IP code?
Sort of the other way around. We were the several FreeBSD volunteers referenced in the article. Lee's my press contact at the WSJ and he's done a number of pieces favorable to us in the past. Again, I'd like to thank the various folks on -hackers who responded (you know who you are) and were a help with this article. If nothing else, it finally got Microsoft to publically admit that we're STILL at Hotmail rather than saying, as they have in the past, that FreeBSD was completely removed and replaced with Windows. :-) - Jordan From: Andy [Tecc Nops] [EMAIL PROTECTED] Subject: RE: Query: How to tell if Microsoft is using BSD TCP/IP code? Date: Mon, 18 Jun 2001 15:37:44 +0100 jeez, forgot the link to WSJ http://public.wsj.com/news/hmc/sb992819157437237260.htm If this is what started this forgive me for being so unobservent, we're a bit slow here in the UK sometimes (well I am that is!) Ak Hmm, anyone seen this then in the Wall Street J ?? Or is this what started this thread (if so I musta missed one somewhere along the line). Ak To Unsubscribe: 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
Re: Anyone see todays Wall Street Journal article: Microsoft Using Free Software (or something to that effect)
+ Matthew Hagerty wrote: | As I understand the BSD license anyone can use it, however, they must say | that they are using it, no? So if MS is using TCP/IP code (or any other | code from FreeBSD), are they not in violation of the license by not | including such a clause in their license or documentation? What am I | missing here? You are missing the fact that MS presents to the public the concept of open source licenses having a viral nature and open source projects being insecure. They use the term open source, while actually implying GPL, while the insecure thing is outright false - based on the number of reported bugs (which is contradictory, since they are bugs being found and fixed by a HUGE userbase that has access to the code, while you have to rely on MS's relatively tiny test team to do the same thing on their products...). The general effect is that people who don't know any better (ie. corporate types) instruct their IT people to remove all open source OSes from their infrastructure and don't use any in future development projects. -- Steve Tremblett To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Query: How to tell if Microsoft is using BSD TCP/IP code?
+ Adam wrote: | I'm not sure if this will help or not but Winsock.h, Winsock2.h, and Ws2spi.h | which are shipped with visual studio 6 include the following in the header: | | * This file includes parts which are Copyright (c) 1982-1986 Regents | * of the University of California. All rights reserved. The | * Berkeley Software License Agreement specifies the terms and | * conditions for redistribution. | */ that only implies that they copied parts of the API - it doesn't give any indication of what code is underneath. -- Steve Tremblett To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Anyone see todays Wall Street Journal article: Microsoft Using Free Software (or something to that effect)
From: Matthew Hagerty [EMAIL PROTECTED] Subject: Re: Anyone see todays Wall Street Journal article: Microsoft Using Free Software (or something to that effect) Date: Mon, 18 Jun 2001 12:43:24 -0400 As I understand the BSD license anyone can use it, however, they must say that they are using it, no? No. That clause was rescinded by UC Berkeley. - Jordan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: max kernel memory
:Hi, : :I'm trying to give the kernel (4.0-RELEASE) 2Gb of memory to work with. I :can afford to have 4Gb of physical memory on one of my servers, and hence :the experiments. : :Is it safe to play around with KERNBASE, and get away without breaking :code ? Is there any other advisable method if this one is risky ? : :-ASR Yes, you can change KERNBASE. I'm not entirely sure but I believe if you have an old set of bootblocks you may have to reinstall them to get a set that is kernbase-agnostic. e.g. the disklabel -B command on the appropriate slice. DG changed KERNBASE a while back to reserve a gigabyte of VM for the kernel. This should be sufficient on a 4G machine but it depends where your resources are going. If your server's resources are user-process centric then you don't need to change KERNBASE. If your server's resources are network-mbuf centric then you may have to give the kernel more KVM (e.g. like 2GB instead of 1GB... 0x8000 instead of 0xC000). But be careful. The more KVM reserved for the kernel, the less VM is available for user processes to allocate and mmap. I'm sure people who run 4G machines can give you better information, I've never run anything larger then 2G myself, though expect down the line I'll begin needing 4G machines to support larger databases. -Matt To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: max kernel memory
:Hi, : :I'm trying to give the kernel (4.0-RELEASE) 2Gb of memory to work with. I :can afford to have 4Gb of physical memory on one of my servers, and hence :the experiments. : :Is it safe to play around with KERNBASE, and get away without breaking :code ? Is there any other advisable method if this one is risky ? : :-ASR Yes, you can change KERNBASE. I'm not entirely sure but I believe if you have an old set of bootblocks you may have to reinstall them to get a set that is kernbase-agnostic. e.g. the disklabel -B command on the appropriate slice. DG changed KERNBASE a while back to reserve a gigabyte of VM for the kernel. This should be sufficient on a 4G machine but it depends where your resources are going. If your server's resources are user-process centric then you don't need to change KERNBASE. If your server's resources are network-mbuf centric then you may have to give the kernel more KVM (e.g. like 2GB instead of 1GB... 0x8000 instead of 0xC000). But be careful. The more KVM reserved for the kernel, the less VM is available for user processes to allocate and mmap. I'm sure people who run 4G machines can give you better information, I've never run anything larger then 2G myself, though expect down the line I'll begin needing 4G machines to support larger databases. Don't forget to also change NKPDE as well when relocating the start of kernel VM. For kernbase = 0x8000 on a non-SMP machine, NKPDE needs to be 511. -DG David Greenman Co-founder, The FreeBSD Project - http://www.freebsd.org President, TeraSolutions, Inc. - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Anyone see todays Wall Street Journal article: Microsoft UsingFree Software (or something to that effect)
On Mon, 18 Jun 2001, Matt Dillon wrote: : :http://public.wsj.com/news/hmc/sb992819157437237260.htm Ahhh very nice. BSD is more viral then GPL it would seem :-) It will be interesting to see if MS now tries to rewrite TCP/IP. I got dibs on the front row aisle seat! Where's the popcorn? -Matt Analogy: GPL is to viral, as BSDL is to gene therapy. Adrian -- [ [EMAIL PROTECTED] ] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Mergemaster killed symlink (was RE: Mergemaster bug + new feature [patch])
On Monday 18 June 2001 17:04, Koster, K.J. wrote: I had a mergemaster problem a while back, but I haven't debugged it properly. I had my /etc/ppp symlinked into /home/root/ppp. Then, after a mergemaster run I ended up with a file named /etc/ppp, which had the contents of the new version of /etc/ppp/ppp.conf. I symlinked /etc/ppp to /usr/ppp and mergemaster updated fine. I then removed /usr/ppp making the symlink invalid and mergemaster overwrote the bad symlink with ppp.conf. Is there any chance when you ran mergemaster that one time your /home was not mounted? I haven't gone as far as to find just what the offending area of mergemaster is. Kees Jan PS. I initially read the subject line as mergemaster has one fewer bug and one newly discovered feature. :) ;P James To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Changes to the /etc/rc* boot system
[Please follow up on this discussion in -arch] Gang, Several people are leaping into the fray with enthusiasm for this project all of a sudden, which is a good thing. However, I'm a little concerned that it's not getting enough of a big picture view. What may seem like lack of progress at this point is actually an effort to do several things before we proceed. A) Examine what we have (most of us understand that pretty well) B) Figure out what we need (in progress, nowhere near done yet) C) Take a hard look at NetBSD's code to determine if it meets our needs D) If we decide C) is yes, figure out how to port/improve it C is pretty much a given in most people's minds at this point. Whether that is a good thing or not I'm not sure, but let's take that as a starting point for now. Given that there will be no small effort in porting their code to our system, and given that we already have the cooperation of one of the NetBSD developers to help with D), I would like to suggest that people bend their efforts away from trying to be the first one to get some code into our tree and onto some of the more general topics. Unfortunately, Luke from NetBSD is both very busy, and busier still until after Usenix. He's asked us to hold off on this till then, and I think that's reasonable. What I'd really like to focus on at this point are three questions. 1. What needs to be done differently on our system than theirs? 2. What would we like to improve on in their current system? 3. How can we take the current code and make it easier to maintain across both platforms? If we can have some good answers to those questions ready for after usenix, then we can start off the What would the NetBSD developers do differently knowing what they know now? conversation with some intelligent points of our own. Just a thought, Doug -- If you're never wrong, you're not trying hard enough. Do YOU Yahoo!? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Article: Network performance by OS
Matt Dillon wrote: : But this isn't true at all. How many people need to make thousands : or tens of thousands of simultanious connections to a machine out of the : box? Almost nobody. So to run a benchmark and have it hit these : :You are essentially saying: out primary target market is small :servers. We can accomodate bigger loads as well but this may :require some hand tuning. On the other hand, NT's target market :is large servers, so it does not need tuning there but performs :worse in the smaller configurations. No, what I am essentially saying is that anyone who has a need to run something that sophisticated had better have some clue as to the platform he is using or he has no business running it. Even if the platform were tuned for the so-called 'large' installation, if the administrator doesn't know much about his most critical server the poor company that hired him is going to have a hellofalot more to worry about then the server not being magically tuned! I agree with that. By the way, is not it customary for the benchmarks run by magazines to consult the manufacturers if the testers are not able to configure the system by themselves ? I don't remember these guys asking questions on -hackers. And I will point out that NT is hardly optimized for 'large servers'. What, are you nuts? It took BEST Internet months... that's MONTHS... hundreds of man-hours to optimize an NT box to handle more then a handful of simultanious frontpage users and even then it couldn't even approach what one of our FreeBSD boxes was doing. It took HiWay Are you talking about Hotmail ? My understanding about it was that they run 5000 small servers, exactly the case when even an out-of-the-box FreeBSD will shine, not even speaking about a tuned one. Technologies another few months, *with* microsoft's help, to get their dedicated NT web server platform to even come close to what their SGI boxes were throwing out. It was a disaster all around. Optimized out of the box? I don't think so. An NT or W2K box might run on a 16-way system, and it may appear all rosy in contrived benchmarks, 32-way I think. At least that's what a full-blown Unisys ES7000 machine has and MS claims to support it. but in the real world it doesn't stack up. At least we (FreeBSD and Linux) don't pretend that our systems scale well to 16-way boxes... only Solaris (and now defunct SGI hardware) can make that claim. NT And Dynix and AIX and HP-UX and UnixWare. and W2K on a 16-way box would be a huge waste of money. Well, UnixWare runs circles around it on the same box. However FreeBSD does not scale well beyond 2 CPUs yet. Windows admins have odd ideas about what constitutes 'large'. Their idea of large is a rack full of windows boxes serving a few hundred active users, or maybe a colo-full of boxes serving a few thousand, or perhaps a bunch of expensive 4-way or 16-way cpu boxes to server X users. Nope, these SMP boxes are usually used for the database servers. The difficulty with the databases is that (unlike web servers or pop/smtp servers or other such stuff) you can't easily divide the job to an arbitrary number of small machines with a simple load balancer. The efficiency of interlocking and data exchange requires one big machine with large memory and many peripheral buses. Our idea of large (in this case defined by Terry or Paul Saab) is one FreeBSD box handling tens of thousands to a hundred thousand TCP connections, and a rack full of machine serving millions. Windows people conveniently forget the amount of work it takes to get an NT or W2K box operating, the amount of work it takes to upgrade one, and the amount of work it takes to fix one when something breaks. They don't fix, they reinstall (not that it reduces the amount of time but the contrariwise). -SB To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Article: Network performance by OS
It's a lot faster on writes with softupdates enabled. FreeBSD will also have journaling filesystems soon. Either way, this was not a very good benchmark. On Sun, 17 Jun 2001, Rayson Ho wrote: But how much tuning is needed? You can download a kernel patch for VM, another kernel patch for FS... I am sure Linux can be even faster on an SMP machine with a Journaling FS (XFS, RFS, JFS, ext3, etc). Rayson --- Kenneth Wayne Culver [EMAIL PROTECTED] wrote: This is not really a hardcore networking app but a custom app written by the person who did the benchmark. The main reason that FreeBSD came in last was mostly because the guy didn't mount his filesystem correctly. On Sat, 16 Jun 2001, Matthew Hagerty wrote: Greetings, Here is a surprisingly unbiased article comparing OSes running hard core network apps. The results are kind of disturbing, with FreeBSD (4.2) coming in last against Linux (RH), Win2k, and Solaris (Intel). http://www.sysadminmag.com/articles/2001/0107/0107a/0107a.htm The tests were performed against the TCP/IP implementation on these platforms with different system calls. File systems tests (EXT2 for Linux, UFS for FreeBSD and Solaris, and NTFS for Windows 2000) were performed by creating writing, and reading 10,000 files in the same directory, increasing the file size from 4K to 128K. Tests of various network applications based on number of simultaneous connections, process-based vs. thread-based, and sync vs. async connection handling were also performed. Hope it might be helpful to you... Matthew To Unsubscribe: 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 __ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/ To Unsubscribe: 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
Re: Query: How to tell if Microsoft is using BSD TCP/IP code?
Josef Karthauser wrote: On Sat, Jun 16, 2001 at 01:16:28PM -0400, [EMAIL PROTECTED] wrote: is BSDI's stack so superior to any of the other BSDs that MS would pay BSDI for it, particularly at a time when BSDI was trying to compete with MS in the server market? Seems like something that a bunch of BSD fanatics conjured up after a few beers. Are you sure that this was Microsoft. The press release that I remember from last year was a Compaq one (or was it SCO), but not Microsoft. Definitely not SCO. Though SCO's Great Networking Achievement of year 2000 was an implementation of in-kernel sockets (as opposed to the user-level library over TLI) so there is a chance that you had it confused with this. -SB To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Data corruption in 4.3-STABLE (a long standing bug)
On Mon, 18 Jun 2001, Attila Nagy wrote: I have a mid-loaded server which runs each daemon in jail()-ed environments. The data space is union-mounted, because nullfs paniced the kernel when someting did a chroot on it (this was the case with 4.2-STABLE). On friday I upgraded from 4.3-RC to the latest 4.3-STABLE and noticed that nullfs actually works, but I get a lot of errors, similar to these: Not all of nullfs fixes MFCed to -stable. Please wait a little bit more. -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Changes to the /etc/rc* boot system
In message [EMAIL PROTECTED] Doug Barton writes: : A) Examine what we have (most of us understand that pretty well) : B) Figure out what we need (in progress, nowhere near done yet) : C) Take a hard look at NetBSD's code to determine if it meets our needs : D) If we decide C) is yes, figure out how to port/improve it : : C is pretty much a given in most people's minds at this point. Whether : that is a good thing or not I'm not sure, but let's take that as a : starting point for now. Given that it is pretty much a given in the minds of many of the grey beards of the project, the snide comments like the above are irrelevant. :-) I'm sorry to be so blunt, but David asked a subset of core members that were on IRC at the time (3) if he could do a vendor branch import of NetBSD rc.d and we all said go for it so long as you coordinate the back migration with NetBSD. That's one reason why he's been so adamant about talking about it amoung ourselves first before we approach the NetBSD developers with every little possible improvement. We're trying hard to prevent a fork here. That's a little more important than necessarily having something that is technically perfect in someone's mind. : Given that there will be no small effort in : porting their code to our system It actually is looking like it isn't a huge effort, appart from writing a few more scripts or doing some minor rearrangement. : given that we already have the : cooperation of one of the NetBSD developers to help with D), More than one. I have NetBSD commit privs :-) Of course, I'd have to run the changes by the responsible parties of for those parts of the NetBSD tree. I've had experience with integrating code into the NetBSD tree, so I have some perspective that most people don't have. : 1. What needs to be done differently on our system than theirs? : 2. What would we like to improve on in their current system? : 3. How can we take the current code and make it easier to maintain :across both platforms? Good questions, but they imply that we want to do a lot of work on the NetBSD rc.d system. We don't. We do not want the second system effect to overwhelm the nice, clean simple design that NetBSD has right now. : If we can have some good answers to those questions ready for after : usenix, then we can start off the What would the NetBSD developers do : differently knowing what they know now? conversation with some : intelligent points of our own. Right, but we should let the right people do the talking as well. The last thing we need is 10 different people to go up to Luke and give him 10 different stories. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: max kernel memory
On Mon, 18 Jun 2001, Matt Dillon wrote: DG changed KERNBASE a while back to reserve a gigabyte of VM for the kernel. This should be sufficient on a 4G machine but it depends where your resources are going. If your server's resources are user-process centric then you don't need to change KERNBASE. If your server's resources are network-mbuf centric then you may have to give the kernel Most of the resources will go into mbufs, clusters, socket structures, PCBs, etc. I mean, supporting a million TCP/IP connections is the primary goal. If setting aside more memory for kernel usage doesn't work out, then I guess I'll have to have some user-level dummy processes that just hold memory for me, and pass it on whenever required. But memory bandwidth is still going to be an issue. (not to forget user-kernel switches, user-kernel copy, etc.). more KVM (e.g. like 2GB instead of 1GB... 0x8000 instead of 0xC000). But be careful. The more KVM reserved for the kernel, the less VM is available for user processes to allocate and mmap. I'm sure people who run 4G machines can give you better information, I've never run anything larger then 2G myself, though expect down the line I'll begin needing 4G machines to support larger databases. An associated question: along with this, changing the kernel to use only PDEs should be better for TLB performance. Mapping 4Mb at a time would definitely be much better than 4k. I'm talking of having the entire kernel (at least the code) find mappings in the TLB, and keeping 4Mb mappings might just do the trick. I did see pmap_kmem_choose() being called pretty early in pmap_bootstrap(), but it looks like it's doing that for a single page; what I want is to have 4M mappings for all pages in the system. Or have I overlooked something ? Any comments ? -ASR - (`-''-/).___..--''`-._ (\ Indra Networks Pvt. Ltd `6_ 6 ) `-. ( ).`-.__.`)Pune, INDIA. (_Y_.)' ._ ) `._ `. ``-..-' mailto: [EMAIL PROTECTED] _..`--'_..-_/ /--'_.' ,' http://www.rajekar.org (il),-'' (li),' ((!.-' http://www.indranetworks.com - There is more simplicity in the man who eats caviar on impulse than in the man who eats Grape-Nuts on principle. -- G.K. Chesterton To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: max kernel memory
:An associated question: along with this, changing the kernel to use only :PDEs should be better for TLB performance. Mapping 4Mb at a time would :definitely be much better than 4k. I'm talking of having the entire kernel :(at least the code) find mappings in the TLB, and keeping 4Mb mappings :might just do the trick. : :I did see pmap_kmem_choose() being called pretty early in :pmap_bootstrap(), but it looks like it's doing that for a single :page; what I want is to have 4M mappings for all pages in the system. : :Or have I overlooked something ? Any comments ? : :-ASR Don't worry about the MMU. Tests have shown that while 4MB pages are nice, the performance boost is relatively minor. The kernel maps itself using 4MB pages but normal 4K pte's are used for kernel allocations. What you are doing sounds interesting, and supporting lots of connections certainly could require a great deal of kernel memory, but it all depends on what you are *doing* with those connections. If you are acting as a router you don't need much KVM. If you are acting as a diskless (non-caching) web or tcp proxy then you do need KVM. If you are serving web pages and the pages do not fit entirely in ram, you are likely to hit disk I/O limitations long before you hit network/cpu limitations. Etc. -Matt To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message