Re: NFS performance-tuning FreeBSD - NetApp

2009-08-03 Thread Steven Kreuzer


On Aug 3, 2009, at 4:55 AM, Ewald Jenisch wrote:


Hi,

I've got a FreeBSD 7.2 box (HP C-class Blade - AMD dual core Opteron
(x64), 4GB RAM, Broadcom NetXtreme II BCM5706) that should be
connected to a NetApp 3170 filer via NFS.

Out of the box, with nothing tuned (no special parameters for
mount_nfs, no kernel tuning), performance is very sluggish: I've got
~250Mbit/sec performance with peaks around 400Mbit/sec.

Sure enough, neither CPU (server and NetApp) nor network performance
is the problem here - it must be something NFS-related.

Any ideas on how to increas my NFS-performance? (Special mount
parameters, kernel tuning,...)


I would suggest bumping the read and write sizes to 32K and using tcp  
instead of udp
If you have very large directories, you can also see an increase in  
responsiveness by

enabling readdirplus as well, but that wont help with raw throughput.

Try passing the following parameters to mount and see if performance  
is any better


-r=32768 -w=32768 -l -T

--
Steven Kreuzer
http://www.exit2shell.com/~skreuzer

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: root's crontab and mysqldump

2009-02-23 Thread Steven Kreuzer


On Feb 23, 2009, at 1:26 PM, Joseph Simmons wrote:


I added the full path and the result didn't change. I can still see it
running in the log but the script doesn't appear to be doing anything.

I have the following variables set in the root's crontab

SHELL=/usr/local/bin/bash
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin


Add /usr/local/bin to PATH because that is where the mysqldump binary  
is.
Also, you don't need /etc in your path, pretty much ever because that  
directory should never have executable programs in it.


--
Steven Kreuzer
http://www.exit2shell.com/~skreuzer

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: HTTP proxy which prints HTTP in human readable form

2009-01-21 Thread Steven Kreuzer


On Jan 21, 2009, at 10:47 AM, Matthias Apitz wrote:



Hello,

I've to debug the HTTP traffic between Firefox and some kind of file
management server to nail down a problem in the communication between
them, perhaps based on the content of the cookies or other HTTP data;

ofc, I could watch the connection with tcpdump, but maybe there is  
some better
HTTP-proxy-like tool in the /usr/ports which prints the HTTP in  
better human

readable form... any ideas? thx



Take a look at HttpFox, which  monitors and analyzes all incoming and
outgoing HTTP traffic between the browser and the web servers.

Information available per request includes:
- Request and response headers
- Sent and received cookies
- Querystring parameters
- POST parameters
- Response body

Its in ports (www/xpi-httpfox) or you can grab it from
https://addons.mozilla.org/en-US/firefox/addon/6647

--
Steven Kreuzer
http://www.exit2shell.com/~skreuzer

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD-friendly laptop suggestions, but wait there's more...

2009-01-08 Thread Steven Kreuzer


On Jan 8, 2009, at 8:04 AM, Modulok wrote:


List,

Does anyone know of a laptop, preferably an older model so it's
inexpensive, (It doesn't have to be very fast.), that is:

1) FreeBSD friendly.
2) Isn't a portable skillet?
3) Is physically sturdy. Not bulletproof, but not creaking, sagging  
plastic.


It hasn't been released yet, but iX systems is working on a BSD laptop
called the INVINCIBOOK that seems to meet all your requirements.

http://www.ixsystems.com/virtuemart/5.html

--
Steven Kreuzer
http://www.exit2shell.com/~skreuzer

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sun sucks

2009-01-08 Thread Steven Kreuzer


On Jan 8, 2009, at 5:10 PM, Ansar Mohammed wrote:

So I am trying to build Java on FreeBSD 7.0. I need to REGSITER to  
download

the Timezone Java patch.

After registering Sun complains that they don't like my ID and I  
need to
provide more information. I create another account. Same problem.  
After 3
months I finally get an email saying they want clarification on the  
acronym

for my company. (no access yet to download Java patch.)



This sucks man. Is there one central repository where we can get all  
the

components required to build Java on FreeBSD?



I wonder what happens if you google tzupdater-1_3_11-2008i.zip?

--
Steven Kreuzer
http://www.exit2shell.com/~skreuzer

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: su qeustion

2008-12-17 Thread Steven Kreuzer


On Dec 17, 2008, at 3:12 PM, Jonathan Moore wrote:

I just installed FreeBSD with Gnome. And I  changed the shell when I  
was
logged ito the terminal as su root. Now when I try to log in to su  
it asks
for a password and I get su: /usr/bin/csh: No such file or  
directory how

can I change it back.


su root -c /bin/sh

and then change the shell to /bin/csh

--
Steven Kreuzer
http://www.exit2shell.com/~skreuzer

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org