Re: Performance!

2007-12-24 Thread Krassimir Slavchev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kip Macy wrote: > Are you sure that the settitle call is disabled on FreeBSD? > I don't know anything about this. Could you explain? > > On 12/20/07, Krassimir Slavchev <[EMAIL PROTECTED]> wrote: > Hello, > > I have read all related threads about

ifconfig options?

2007-12-24 Thread Krassimir Slavchev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, 'ifconfig -l [address_family]' does not work correct on RELENG_7 FreeBSD 6.3-BETA2: # ifconfig -l em0 em1 plip0 lo0 pflog0 #ifconfig -l ether em0 em1 But: FreeBSD 7.0-BETA4: # ifconfig -l em0 em1 plip0 lo0 pflog0 #ifconfig -l ether em0 em1 pl

Re: ifconfig options?

2007-12-24 Thread Richard Arends
On Mon, Dec 24, 2007 at 11:01:53AM +0200, Krassimir Slavchev wrote: > I need this functionality to get all ethernet interfaces. Is there other > way to do this? netstat -i -f link Maybe? -- Regards, Richard. /* Homo Sapiens non urinat in ventum */ ___

Re: ifconfig options?

2007-12-24 Thread Krassimir Slavchev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard Arends wrote: > On Mon, Dec 24, 2007 at 11:01:53AM +0200, Krassimir Slavchev wrote: > >> I need this functionality to get all ethernet interfaces. Is there other >> way to do this? > > netstat -i -f link > > Maybe? > No, this lists all in

Re: is there any hope for MFC nscd?

2007-12-24 Thread Denis Barov
Hi, Michael! In attachment patch for backporing nscd from RELENG_7 to RELENG_6. Tested on FreeBSD sepulca.yandex.ru 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Thu Dec 23 22:06:36 MSK 2007 [EMAIL PROTECTED]:/usr/obj/usr/RELENG_6_ncsd/src/sys/GENERIC amd64 and works fine. Must I prepare pr? P.S.

Re: ifconfig options?

2007-12-24 Thread Ruben van Staveren
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Krassimir, Krassimir Slavchev wrote: > Hi, > > 'ifconfig -l [address_family]' does not work correct on RELENG_7 If you suspect a regression in functionality, and you can reproduce it the best thing one can do is submit a problem report with send

Re: is there any hope for MFC nscd?

2007-12-24 Thread Denis Barov
I'm sorry, seems attachment was stripped by mailserver or somewhat else. Gzipped patch avialable at http://www.dindin.ru/wiki/FreeBSD?action=AttachFile&do=get&target=nscd_backport.gz (78Kb) Mon, Dec 24, 2007 at 12:15 +0300 Denis Barov: > Hi, Michael! > In attachment patch for backporing nscd from

Re: Packet loss every 30.999 seconds

2007-12-24 Thread Kostik Belousov
On Sun, Dec 23, 2007 at 10:20:31AM +1100, Bruce Evans wrote: > On Sat, 22 Dec 2007, Kostik Belousov wrote: > >Ok, since you talked about this first :). I already made the following > >patch, but did not published it since I still did not inspected all > >callers of MNT_VNODE_FOREACH() for safety of

Re: SMP on FreeBSD 6.x and 7.0: Worth doing?

2007-12-24 Thread Scott Long
Brett Glass wrote: I will need to build several Web caches over the next few months, and just took advantage of the Christmas lull (and a snowy day, when I couldn't work outside) to test FreeBSD 7.0 BETA 4 to see how it will perform at this task. I built up a 4 core FreeBSD box, and asked a fr

Re: SMP on FreeBSD 6.x and 7.0: Worth doing?

2007-12-24 Thread Brett Glass
At 07:14 AM 12/24/2007, Scott Long wrote: >Brett, > >There could be several problems here: > >1. WITNESS, INVARIANTS, malloc debugging. Are any of these turned on for you? > I don't recall if malloc debugging got turned off yet for the >7.0 snapshots. I nuked debugging when I recompiled the ker

Re: SMP on FreeBSD 6.x and 7.0: Worth doing?

2007-12-24 Thread Scott Long
Brett Glass wrote: At 07:14 AM 12/24/2007, Scott Long wrote: Brett, There could be several problems here: 1. WITNESS, INVARIANTS, malloc debugging. Are any of these turned on for you? I don't recall if malloc debugging got turned off yet for the 7.0 snapshots. I nuked debugging when I re

Re: SMP on FreeBSD 6.x and 7.0: Worth doing?

2007-12-24 Thread Brett Glass
At 09:10 AM 12/24/2007, Scott Long wrote: >Did you also nuke malloc debugging? I believe I did. I tried to take out all debugging to make it a fair test. >>They were. The drives are SATA. > >Connected to what controller? Whatever comes standard on the Intel S5000 motherboards. I believe that it

g_io_request: usb related crash

2007-12-24 Thread Andriy Gapon
FreeBSD 6.2-RELEASE-p6 amd64 The following happened: 1. I inserted into a USB card-reader a write-protected miniSD card. 2. Tried to mount it (read-write) and that failed, the following messages appeared in the system log: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 0 0 0 1 19 0 0 8 0 (da0:umass-

Re: reduce verboseness for certain scsi error

2007-12-24 Thread Andriy Gapon
Attached is a proposed patch. I am not particularly fond of the names. I am also not sure if the same effect could be achieved by some better means. The patch works for me and greatly reduces messages pollution when using a multi-slot card-reader and hald. P.S. the patch is against sources of 6.

Re: SMP on FreeBSD 6.x and 7.0: Worth doing?

2007-12-24 Thread Scott Long
Brett Glass wrote: At 09:10 AM 12/24/2007, Scott Long wrote: Did you also nuke malloc debugging? I believe I did. I tried to take out all debugging to make it a fair test. They were. The drives are SATA. Connected to what controller? Whatever comes standard on the Intel S5000 motherboard

Instant Reboot with 7.0 BETA4 LifeFS Disk

2007-12-24 Thread Seth Hieronymus
In testing my Windows desktop with the 7.0 LiveFS disk ( 7.0-BETA4-amd64-livefs.iso), I get an instant reboot when the CD is run. As far as I can tell, no console messages are printed, so it seems the error happens very early in the loading process. Other FreeBSD versions (6.2, i386 7.0) also exh

Re: SMP on FreeBSD 6.x and 7.0: Worth doing?

2007-12-24 Thread Mike Tancsa
At 12:12 PM 12/24/2007, Scott Long wrote: For others who might want help with this, tweaking vfs.ufs.dirhash_maxmem is what is needed. A bit of a balancing act is needed if you're on i386 since you'll risk exhausting KVA unless you also tweak KVA_PAGES. Hi Scott, How does one know if

Re: SMP on FreeBSD 6.x and 7.0: Worth doing?

2007-12-24 Thread Brett Glass
At 10:12 AM 12/24/2007, Scott Long wrote: >It's not the same kind of hashing. The kind of "hashing" that squid >does on the filesystem is sub optimal for UFS performance. Squid doesn't do any "hashing" on the file system, as far as I know. It does, of course, have a hashed directory of cached We

Re: 6.3-RC1: different port/package versions

2007-12-24 Thread Kris Kennaway
Bengt Ahlgren wrote: Hi! I'm trying out 6.3-RC1, but had some problems with getting different (and incompatible) versions of packages and ports. When installing packages with sysinstall via FTP, i get older versions compared to using pkg_add -r. The latter (correctly) takes the packages from t

Re: Performance!

2007-12-24 Thread Kris Kennaway
Krassimir Slavchev wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have read all related threads about performance problems with multi core systems but still have no idea what to do to make thinks better. Below are results of testing postgresql on HP DL380G5 using sysbench. The re

Re: Trying to initialize padlock support on Via C7 Eden CPU

2007-12-24 Thread Vivek Khera
On Dec 22, 2007, at 1:38 PM, Michael Proto wrote: I purchased a Jetway J7F4K1G2E w/VIA Eden 1.2GHz cpu/motherboard combo (http://e-itx.com/jetway-j7f4k1g2e-mini-itx-motherboard.html) that I'm trying to get working with the FreeBSD padlock driver. Based on what I see from the manufacturer's CPU

Re: Packet loss every 30.999 seconds

2007-12-24 Thread Bruce Evans
On Mon, 24 Dec 2007, Kostik Belousov wrote: On Sun, Dec 23, 2007 at 10:20:31AM +1100, Bruce Evans wrote: On Sat, 22 Dec 2007, Kostik Belousov wrote: Ok, since you talked about this first :). I already made the following patch, but did not published it since I still did not inspected all caller

Re: Packet loss every 30.999 seconds

2007-12-24 Thread Mark Fullmer
On Dec 24, 2007, at 8:19 AM, Kostik Belousov wrote: Mark, could you, please, retest the patch below in your setup ? I want to put a change or some edition of it into the 7.0 release, and we need to move fast to do this. It's building now. The testing will run overnight. Your patch to ffs_s

em1: Unable to allocate bus resource: memory

2007-12-24 Thread jonathan
I just got a new Intel Gb PCIe network card and installed it today. The card is seen by the system but the driver fails to initialize it with the error seen in the email subject. I'm running FreeBSD RELENG_7 from around BETA3 but can upgrade if needed FreeBSD storage.kc8onw.net 7.0-BETA3 FreeBSD

Re: SMP on FreeBSD 6.x and 7.0: Worth doing?

2007-12-24 Thread Adrian Chadd
On 25/12/2007, Brett Glass <[EMAIL PROTECTED]> wrote: > >It sounds like you're pretty convinced you know what the problem is. > > Again, I'd have to instrument either the FreeBSD kernel or Squid to > be 100% sure. But it APPEARS that it's a problem with large > numbers of threads trying to do file

FreeBSD 7.0 freezes with nvidia card

2007-12-24 Thread Stephen Montgomery-Smith
I have a Dell D800 Latitude laptop. If I use FreeBSD 7.0, and xorg with the nv driver, when I exit X, sometimes it simply freezes. I tried it with the vesa driver. and the problem didn't seem to happen, but the vesa driver is unable to get the 1680x1050 resolution of my monitor. I sent a sim

Re: Packet loss every 30.999 seconds

2007-12-24 Thread Kostik Belousov
On Mon, Dec 24, 2007 at 08:16:50PM -0500, Mark Fullmer wrote: > > On Dec 24, 2007, at 8:19 AM, Kostik Belousov wrote: > > > > >Mark, could you, please, retest the patch below in your setup ? > >I want to put a change or some edition of it into the 7.0 release, and > >we need to move fast to do th

Re: FreeBSD 7.0 freezes with nvidia card

2007-12-24 Thread David Booth
On Monday 24 December 2007, Stephen Montgomery-Smith wrote: > I have a Dell D800 Latitude laptop. If I use FreeBSD 7.0, and xorg > with the nv driver, when I exit X, sometimes it simply freezes. I > tried it with the vesa driver. and the problem didn't seem to > happen, but the vesa driver is una

Re: FreeBSD 7.0 freezes with nvidia card

2007-12-24 Thread Stephen Montgomery-Smith
David Booth wrote: On Monday 24 December 2007, Stephen Montgomery-Smith wrote: I have a Dell D800 Latitude laptop. If I use FreeBSD 7.0, and xorg with the nv driver, when I exit X, sometimes it simply freezes. I tried it with the vesa driver. and the problem didn't seem to happen, but the vesa