fwe in production? fwe bandwidth?

2003-09-05 Thread Jesse Guardiani
Howdy list,

I'm researching GigE and faster-than-10/100-
technologies. I run a FreeBSD 5.1-RELEASE
laptop, and I noticed the fwe device. I have
a few questions regarding the fwe device:

1.) Does anyone use the fwe device?

2.) Is it stable?

3.) What kind of bandwidth is possible with the fwe device?

4.) What hardware has it been tested to work well on?

5.) If this isn't the place to ask, where should I go?

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fwe in production? fwe bandwidth?

2003-09-04 Thread Matthew Seaman
On Wed, Sep 03, 2003 at 06:53:09PM -0400, Jesse Guardiani wrote:
> Howdy list,
> 
> I'm a Sys Admin running FreeBSD 4.8-RELEASE
> servers.
> 
> During a recent programming/installation
> project, I found myself wanting to know
> the peak memory usage of a given command/process.
> 
> Is there any way to gather this information
> without recompiling an application with a
> sleep or wait statement at the (assumed)
> point of peak memory usage and then looking
> at the process with 'ps'?

That depends on exactly how much time you've got to record the peak
memory usage.  If it's going to be changing faster than you could
catch just by running ps(1) -- like:

% ps -p NNN -o rsz

where NNN is the pid of your process, then you're probably going to
have to interrupt the process somehow.  You can do that by attaching
to the process using gdb(1), eg:

% gdb PROGNAME NNN

this will stop the process and leave you in the debugger at the
current program counter.  You'ld have to create a break point when the
program calls malloc(3) or friends, continue running until it hits the
break point, step over the malloc call, check the size using ps(1),
and then continue running again until the next malloc(3) call. Repeat
until the program ends. See the gdb info pages for the gory details.
Nb. this whole thing with gdb(1) is going to be a great deal easier if
you have the source code to your program available and you can run an
unstripped binary.  Doing such a trick on a stripped binary is getting
into real guru territory.  Programs run a lot slower when attached in
a debugger, plus if the program makes heavy use of malloc, it's going
to get really tedious very quickly.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


fwe in production? fwe bandwidth?

2003-09-03 Thread Jesse Guardiani
Howdy list,

I'm a Sys Admin running FreeBSD 4.8-RELEASE
servers.

During a recent programming/installation
project, I found myself wanting to know
the peak memory usage of a given command/process.

Is there any way to gather this information
without recompiling an application with a
sleep or wait statement at the (assumed)
point of peak memory usage and then looking
at the process with 'ps'?

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"