Re: File locking, closes and performance in a distributed filesystemenv

2002-05-15 Thread Alfred Perlstein
* Terry Lambert [EMAIL PROTECTED] [020514 22:58] wrote: Richard Sharpe wrote: Hmmm, I wasn't very clear ... What I am proposing is a 'simple' fix that simply changes p-p_flag |= P_ADVLOCK; to fp-l_flag |= P_ADVLOCK; As Terry stated you can't do that,

SIGPOLL

2002-05-15 Thread Eugene Panchenko
SysV defines SIGPOLL, as well as Linux, Solaris, and (IIRC) Irix. However, it is NOT defined in any of *BSD. In Linux it is simple #define SIGPOLL SIGIO. Some apps need it, thought. What are the general policy for this: keep as *BSD and patch every SIGPOLL-app accordingly, or modify

laptop's modem

2002-05-15 Thread Dmitry Shupilov
Hello guys, Sorry for non-topic question but HELP me! I got laptop Compaq Armada m700 with internal modem Compaq 56K mini PCI. After the new install FreeBSD on laptop I cannot dial out - system doesn't see the modem. What should I do or where can I find some info about it? (On windozz

Re: File locking, closes and performance in a distributed file systemenv

2002-05-15 Thread Andrey Alekseyev
Btw, Terry's implementation of this ported to 4.5-STABLE could be found here: http://www.blackflag.ru/patches/nfs-client-and-server-locking-4.5-STABLE-20020312.diff I've been testing it continuously for a month or so with an NFS server on Solaris. Particularly, that was a combination of

Re: tuning a CPU bound server

2002-05-15 Thread Omar Thameen
On Tue, May 14, 2002 at 09:25:21PM -0700, Doug White wrote: Mmm, mail server tuning, something I have some experience in :-) Just what I was hoping to hear! First off, what are the specs of the server? Cpu? Disk? Memory? Network? You mention it's a dual 800MHz. What kind of NIC does it have?

Re: laptop's modem

2002-05-15 Thread Daniel O'Connor
On Wed, 2002-05-15 at 16:23, Dmitry Shupilov wrote: system doesn't see the modem. What should I do or where can I find some info about it? (On windozz it works on COM4, so I try to trick with device sioX but it didn't help). It's almost certainly a Win modem. I don't believe there are

Re: File locking, closes and performance in a distributed filesystemenv

2002-05-15 Thread Terry Lambert
Alfred Perlstein wrote: As Terry stated you can't do that, however you could cache that the VNODE has a lock, that would reduce the requirement for calling the ADVLOCK VOP. You'd really have to know when the lock list went to NULL, to get any benefit out of it, since locking would still end

Re: SIGPOLL

2002-05-15 Thread Terry Lambert
Eugene Panchenko wrote: SysV defines SIGPOLL, as well as Linux, Solaris, and (IIRC) Irix. However, it is NOT defined in any of *BSD. In Linux it is simple #define SIGPOLL SIGIO. Some apps need it, thought. What are the general policy for this: keep as *BSD and patch every SIGPOLL-app

Re: laptop's modem

2002-05-15 Thread Terry Lambert
Dmitry Shupilov wrote: Sorry for non-topic question but HELP me! I got laptop Compaq Armada m700 with internal modem Compaq 56K mini PCI. After the new install FreeBSD on laptop I cannot dial out - system doesn't see the modem. What should I do or where can I find some info about

Re: laptop's modem

2002-05-15 Thread Wilko Bulte
On Wed, May 15, 2002 at 01:50:45AM -0700, Terry Lambert wrote: Dmitry Shupilov wrote: Sorry for non-topic question but HELP me! I got laptop Compaq Armada m700 with internal modem Compaq 56K mini PCI. After the new install FreeBSD on laptop I cannot dial out - system doesn't see

Re: laptop's modem

2002-05-15 Thread Terry Lambert
Wilko Bulte wrote: On Wed, May 15, 2002 at 01:50:45AM -0700, Terry Lambert wrote: Dmitry Shupilov wrote: Sorry for non-topic question but HELP me! I got laptop Compaq Armada m700 with internal modem Compaq 56K mini PCI. After the new install FreeBSD on laptop I cannot dial out -

Re: laptop's modem

2002-05-15 Thread Wilko Bulte
On Wed, May 15, 2002 at 02:11:10AM -0700, Terry Lambert wrote: Wilko Bulte wrote: On Wed, May 15, 2002 at 01:50:45AM -0700, Terry Lambert wrote: Dmitry Shupilov wrote: Sorry for non-topic question but HELP me! I got laptop Compaq Armada m700 with internal modem Compaq 56K mini

Re: laptop's modem

2002-05-15 Thread Terry Lambert
Wilko Bulte wrote: Do you mean ltmdm, the Lucent Winmodem driver? Correct. [ ... ] Win2K calls it a LT Win Modem. Definitely a Lucent. Did your E700 work with -STABLE? The ltmdm thing didn't work with some Lucent modems, in the same way the binary only Olicomm driver wroked with

Re: NFS Problems with Quantum Snapserver 4100 (BGE Cards!)

2002-05-15 Thread Jamie Heckford
Already running the card and switch port in 100BaseTX FDX (forced) :) Would use GigE if the switch supported it tho Thus spake Matthew Dillon ([EMAIL PROTECTED]) : It should also work if you force the GigE card into 100BaseTX mode, assuming the switch can deal with it. Though

Verba Volant

2002-05-15 Thread subscribe_verba
The following email address, [EMAIL PROTECTED] has been removed from the Verba Volant Newsletter list. If you did not cancel your email address or you wish to continue receiving Verba Volant, please send an e-mail to [EMAIL PROTECTED] Thank you and best regards, Verba Volant To Unsubscribe:

[no subject]

2002-05-15 Thread Rich Haney
All, I have a need to be able to determine the amount of physical memory in a machine. Looking at the man page for sysctl(), that seems to be the answer, but it behaves a oddly in that it doesn't return what I feel is the actual amount of RAM in the machine. It appears to be taking

Problem with sysctl() and HW_PHYSMEM

2002-05-15 Thread Rich Haney
A thousand pardons for the duplicate post - forgot the subject on the original!! --- All, I have a need to be able to determine the amount of physical memory in a machine. Looking at the man page for sysctl(), that seems to be the answer, but it behaves a oddly in that it doesn't

Re: File locking, closes and performance in a distributed filesystemenv

2002-05-15 Thread Alfred Perlstein
* Terry Lambert [EMAIL PROTECTED] [020515 01:36] wrote: Alfred Perlstein wrote: As Terry stated you can't do that, however you could cache that the VNODE has a lock, that would reduce the requirement for calling the ADVLOCK VOP. You'd really have to know when the lock list went to NULL,

Re: File locking, closes and performance in a distributed filesystemenv

2002-05-15 Thread Andrew R. Reiter
On Wed, 15 May 2002, Alfred Perlstein wrote: :* Terry Lambert [EMAIL PROTECTED] [020515 01:36] wrote: : Alfred Perlstein wrote: : As Terry stated you can't do that, however you could cache that the : VNODE has a lock, that would reduce the requirement for calling the : ADVLOCK VOP. : You'd

Re: File locking, closes and performance in a distributed filesystemenv

2002-05-15 Thread Alfred Perlstein
* Andrew R. Reiter [EMAIL PROTECTED] [020515 09:54] wrote: On Wed, 15 May 2002, Alfred Perlstein wrote: :* Terry Lambert [EMAIL PROTECTED] [020515 01:36] wrote: : Alfred Perlstein wrote: : As Terry stated you can't do that, however you could cache that the : VNODE has a lock, that would

Re: Collect process sleeping statistics

2002-05-15 Thread Zhihui Zhang
Basically I have a program that does a lot of I/O and alloctes/frees a lot of memory. The time command gives result like this: 6.239u 19.329s 7:59.76 5.3% 310+775k 3993+246io 7pf+0w I want to know why CPU is running only 5.3% of the total time. I just want know how long it is waiting for

Re: File locking, closes and performance in a distributed filesystemenv

2002-05-15 Thread Richard Sharpe
On Tue, 14 May 2002, Terry Lambert wrote: Richard Sharpe wrote: Hmmm, I wasn't very clear ... What I am proposing is a 'simple' fix that simply changes p-p_flag |= P_ADVLOCK; to fp-l_flag |= P_ADVLOCK; And never resets it, and then in closef,

Re: Collect process sleeping statistics

2002-05-15 Thread Alfred Perlstein
* Zhihui Zhang [EMAIL PROTECTED] [020515 10:33] wrote: Basically I have a program that does a lot of I/O and alloctes/frees a lot of memory. The time command gives result like this: 6.239u 19.329s 7:59.76 5.3% 310+775k 3993+246io 7pf+0w I want to know why CPU is running only 5.3% of

Re: bug in pw, freebsd 4.5 [patch]

2002-05-15 Thread Geoffrey C. Speicher
On Mon, 13 May 2002, Geoffrey C. Speicher wrote: On Thu, 2 May 2002, Matthew D. Fuller wrote: I'll see if I can put some time over the next few days into delving into it and at least getting the first step (of making the locking work more usefully) work. Hi Matt. Just wondering if

Re: Collect process sleeping statistics

2002-05-15 Thread Zhihui Zhang
What if most I/O are asynchronous writes and handled by a background process (e.g. SoftUpdate syncer daemon or a special kernel daemon), then I guess the wait should have something to do with memory or buffer. But I do not know to to confirm this. Maybe some profiling or instrumentation (too

postfix

2002-05-15 Thread O Senhor
Do you know about performance in postfix? I have on FreeBSD (4.5) box running postfix and delivering mail in 65.000 mailboxes... I know about maildirs... but, how maildir would help me??? The postfix delivery agent simply can't do the jog. This is because a lot of entries??? help please. To

Re: File locking, closes and performance in a distributed filesystemenv

2002-05-15 Thread Terry Lambert
Alfred Perlstein wrote: He could also maintain a local cache of this per vnode, basically maintain a mirror of the lock list locally in order to see if a remote op must be done. I think we are talking past each other. This is what I've been suggesting since my first message, but suggested

Re: File locking, closes and performance in a distributed filesystemenv

2002-05-15 Thread Terry Lambert
Andrew R. Reiter wrote: :He could also maintain a local cache of this per vnode, basically :maintain a mirror of the lock list locally in order to see if a remote :op must be done. Isn't this sorta like coda? Lock cache, not data cache. It's sort of like:

Re: Collect process sleeping statistics

2002-05-15 Thread Terry Lambert
Zhihui Zhang wrote: Basically I have a program that does a lot of I/O and alloctes/frees a lot of memory. The time command gives result like this: 6.239u 19.329s 7:59.76 5.3% 310+775k 3993+246io 7pf+0w I want to know why CPU is running only 5.3% of the total time. I just want know

Re: Collect process sleeping statistics

2002-05-15 Thread Terry Lambert
Zhihui Zhang wrote: What if most I/O are asynchronous writes and handled by a background process (e.g. SoftUpdate syncer daemon or a special kernel daemon), then I guess the wait should have something to do with memory or buffer. But I do not know to to confirm this. Maybe some profiling or

remotely restoring over a live working system

2002-05-15 Thread Dan Langille
A disk in remote 4.5-stable box started to develop bad clusters. The hosting company replaced the drive for me. I now have a 4.5-RELEASE system (they have 4.5-RELEASE drives as stock items). The defective drive is almost mounted in this box. I'm tempted to tar the old disk over to the new

Re: remotely restoring over a live working system

2002-05-15 Thread Brandon D. Valentine
On Wed, 15 May 2002, Dan Langille wrote: The defective drive is almost mounted in this box. I'm tempted to tar the old disk over to the new disk and get everything back running that way. It's that or upgrade to stable, install about 30 or so packages, and manually configure everything.

Re: NFS Problems with Quantum Snapserver 4100 (BGE Cards!)

2002-05-15 Thread Matthew Dillon
: :Already running the card and switch port in 100BaseTX FDX (forced) :) : :Would use GigE if the switch supported it tho Ack. Just rip the damn thing out and put in a normal 100BaseTX card, then (if you haven't already). The whole system will probably be happier.

Re: tuning a CPU bound server

2002-05-15 Thread Doug White
On Wed, 15 May 2002, Omar Thameen wrote: First off, what are the specs of the server? Cpu? Disk? Memory? Network? You mention it's a dual 800MHz. What kind of NIC does it have? What is the speed and duplex set to on it? Dual PIII/800 2G SDRAM 2x18G IBM 10,000 rpm SCSI drives, running

Re: remotely restoring over a live working system

2002-05-15 Thread Doug White
On Wed, 15 May 2002, Dan Langille wrote: A disk in remote 4.5-stable box started to develop bad clusters. The hosting company replaced the drive for me. I now have a 4.5-RELEASE system (they have 4.5-RELEASE drives as stock items). The defective drive is almost mounted in this box. I'm

SMP kernel freezes with nice processes.

2002-05-15 Thread David Gilbert
I run dnetc with an argument to run two (one for each processor). If I realtime nice (not nasty) the processes, the computer freezes for a few seconds every minute or two. If I have them only regular nice'd, this does not happen. I can make a login on the machine available if this helps. Any

Re: SMP kernel freezes with nice processes.

2002-05-15 Thread Lars Eggert
David Gilbert wrote: I run dnetc with an argument to run two (one for each processor). If I realtime nice (not nasty) the processes, the computer freezes for a few seconds every minute or two. If I have them only regular nice'd, this does not happen. realtime nice = idprio? If so, probably

Distributedfolding client -- BSD Networking bug fix

2002-05-15 Thread Rayson Ho
Someone on this list emailed me about a problem in the distributed folding client a while ago... Howard has an updated version, can people having problems with it try to see if it fixes the problem or not? Also, I don't have access to the source of the client. Rayson P.S. Here's his message:

Re: Distributedfolding client -- BSD Networking bug fix

2002-05-15 Thread Brian the Fist
The fixed version is not up yet, I will be posting it tomorrow. I have confirmed that the networking timeouts if you were having them, have been fixed. (By updating to a new version of the networking layer). Rayson Ho wrote: Someone on this list emailed me about a problem in the distributed

Re: national security backdoor in FreeBSD.

2002-05-15 Thread Matthew Emmerton
There is a backdoor in all versions of FreeBSD that are not compiled from source code within portmapper and telnetd. Hmm. Let's check out this logic. The binaries that ship on the FreeBSD distros are compiled from source. When I upgrade my system, I compile from source. And the backdoor

Re: national security backdoor in FreeBSD.

2002-05-15 Thread Terry Lambert
Matthew Emmerton wrote: There is a backdoor in all versions of FreeBSD that are not compiled from source code within portmapper and telnetd. Hmm. Let's check out this logic. The binaries that ship on the FreeBSD distros are compiled from source. When I upgrade my system, I compile from

Re: national security backdoor in FreeBSD.

2002-05-15 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Terry Lambert writes: Matthew Emmerton wrote: There is a backdoor in all versions of FreeBSD that are not compiled from source code within portmapper and telnetd. Hmm. Let's check out this logic. The binaries that ship on the FreeBSD distros are compiled