Re: Optimising pxeboot disk size

2008-12-30 Thread Bernard Dugas
Wojciech Puchar wrote: I couldn't find the hostname sent by dhcp, but found a way to find the ip address. just use hostname command. I did, but the answer is empty (remember this is before /etc/rc is run). Where is kept the data received by dhcp_client during pxe boot ? The only problem i

Re: Optimising NFS for system files

2008-12-30 Thread Bernard Dugas
Wojciech Puchar wrote: i can see a reading speed difference 4 time slower on client than on server (time tar -cf - /usr /dev/null). I will play with jumbo MTU for network performance, but would anybody know if i can ask system files NFS exports to stay in server memory ? I have less than

Re: Optimising pxeboot disk size

2008-12-30 Thread Wojciech Puchar
add second echo to /var/log/messages ;) Hope not to forget one ;-) But is there a system call or configuration to do that automatically ? I can see some echo in /etc/rc without any , and their result seems to go to /var/messages. I wish to learn to do clean scripting :-) actually i

Re: Optimising NFS for system files

2008-12-30 Thread Michel Talon
Bernard Dugas wrote: So you din't think that if all files are already in RAM on server, i will save the drive access time ? Or do you think the NFS network access is so much slow that the disk access time is just marginal ? Do you think i should use something more efficient than NFS ?

Re: local copy of handbook

2008-12-30 Thread Frank Shute
On Mon, Dec 29, 2008 at 11:52:57PM +0200, Giorgos Keramidas wrote: On Mon, 29 Dec 2008 20:27:17 +, Frank Shute fr...@shute.org.uk wrote: You can keep a local copy of the docs update the sources for the docs with csup but you have to regenerate them with a make command after you have

Re: Optimising NFS for system files

2008-12-30 Thread Wojciech Puchar
less than 2Go to share and 2GO DDR2 is affordable. you don't have to. So you din't think that if all files are already in RAM on server, i will save the drive access time ? FreeBSD automatically use all free memory as cache. ___

Re: Optimising NFS for system files

2008-12-30 Thread Wojciech Puchar
As to NFS speed, you should experiment with NFS on TCP and run a large number of nfsd on the server (see nfs_server_flags in rc.conf). For example -n 6 or -n 8. Maybe also experiment with the readsize and writesize. Anyways, i don't think you can expect the same throughput via NFS (say 10 MB/s,

Re: Unable to modify sysid with Fdisk

2008-12-30 Thread Ian Smith
In freebsd-questions Digest, Vol 244, Issue 1, Message 6 On Sun, 28 Dec 2008 17:45:52 +0100 David Scialom dscia...@gmail.com wrote: Hello, It seems that it is impossible to modify the sysid with fdisk since FreeBSD 6.2. I am actually using FreeBSD7.0. When I want to modify my the sysid

Re: Optimising NFS for system files

2008-12-30 Thread Bernard Dugas
Wojciech Puchar wrote: So you din't think that if all files are already in RAM on server, i will save the drive access time ? FreeBSD automatically use all free memory as cache. OK there is slowdown because network introduces slight delay, but few ms at most if network is made properly

Re: Optimising NFS for system files

2008-12-30 Thread Vincent Hoffman
Bernard Dugas wrote: Wojciech Puchar wrote: So you din't think that if all files are already in RAM on server, i will save the drive access time ? FreeBSD automatically use all free memory as cache. OK there is slowdown because network introduces slight delay, but few ms at most if

Re: running asfiles on windowmaker...

2008-12-30 Thread Kevin Kinsey
Peter Boosten wrote: On 30 dec 2008, at 07:02, per...@pluto.rain.com wrote: Does anyone know how to run asfiles on windowmaker? Whereis its executable? (path) I have no idea what asfiles is, but I would assume `which asfiles' would tell you where it is located. ... unless it's not in

Re: local copy of handbook

2008-12-30 Thread Giorgos Keramidas
On Tue, 30 Dec 2008 13:33:45 +, Frank Shute fr...@shute.org.uk wrote: On Mon, Dec 29, 2008 at 11:52:57PM +0200, Giorgos Keramidas wrote: On Mon, 29 Dec 2008 20:27:17 +, Frank Shute fr...@shute.org.uk wrote: You can keep a local copy of the docs update the sources for the docs with csup

editing dhcpd.conf file

2008-12-30 Thread Pieter Donche
If one wants to set up a DHCP server in such a way that that a host with a given MAC-address will, at any time it connects, get the same IP address, one can record that fixed relation in the /usr/local/etc/dhcpd.conf file. Now, when someone already registered his laptop, and buys a new latop

How do I configure PHP to use curl?

2008-12-30 Thread John Almberg
I just ran into something that has me stumped. It's probably a real newbie question, but I can't figure it out... I'm trying to add curl support to my PHP installation, but when I run 'make config' in the /usr/ports/lang/php5 directory, curl is not one of the very small set of options

Re: How do I configure PHP to use curl?

2008-12-30 Thread Paul Procacci
John Almberg wrote: I just ran into something that has me stumped. It's probably a real newbie question, but I can't figure it out... I'm trying to add curl support to my PHP installation, but when I run 'make config' in the /usr/ports/lang/php5 directory, curl is not one of the very small

Re: How do I configure PHP to use curl?

2008-12-30 Thread Michael Powell
John Almberg wrote: I just ran into something that has me stumped. It's probably a real newbie question, but I can't figure it out... I'm trying to add curl support to my PHP installation, but when I run 'make config' in the /usr/ports/lang/php5 directory, curl is not one of the very small

Re: How do I configure PHP to use curl?

2008-12-30 Thread John Almberg
On Dec 30, 2008, at 1:26 PM, Michael Powell wrote: John Almberg wrote: I just ran into something that has me stumped. It's probably a real newbie question, but I can't figure it out... I'm trying to add curl support to my PHP installation, but when I run 'make config' in the

Re: How do I configure PHP to use curl?

2008-12-30 Thread Glen Barber
On Tue, Dec 30, 2008 at 1:16 PM, John Almberg jalmb...@identry.com wrote: I just ran into something that has me stumped. It's probably a real newbie question, but I can't figure it out... I'm trying to add curl support to my PHP installation, but when I run 'make config' in the

Re: How do I configure PHP to use curl?

2008-12-30 Thread Glen Barber
On Tue, Dec 30, 2008 at 1:35 PM, Glen Barber glen.j.bar...@gmail.com wrote: On Tue, Dec 30, 2008 at 1:16 PM, John Almberg jalmb...@identry.com wrote: I just ran into something that has me stumped. It's probably a real newbie question, but I can't figure it out... I'm trying to add curl

Re: How do I configure PHP to use curl?

2008-12-30 Thread John Almberg
On Dec 30, 2008, at 1:36 PM, Glen Barber wrote: On Tue, Dec 30, 2008 at 1:35 PM, Glen Barber glen.j.bar...@gmail.com wrote: On Tue, Dec 30, 2008 at 1:16 PM, John Almberg jalmb...@identry.com wrote: I just ran into something that has me stumped. It's probably a real newbie question, but I

Re: Optimising NFS for system files

2008-12-30 Thread Wojciech Puchar
there is slowdown because network introduces slight delay, but few ms at most if network is made properly This is a Gbps network with only 1 switch between nfs server and client, with less than 0.2ms ping. So bandwidth should not be a it should work with near-wire speed on 100Mbit clients.

well, blew it... sed or perl q again.

2008-12-30 Thread Gary Kline
Guys, Someone send a sed website that i thought i had bookmarked on firefox3. I don't see it in history; it is not b'marked. This question may not be do-able in sed, I don't know. BEen searching around for over an hour and a half; have tried things

Performance loss with dynamic IPFW rules

2008-12-30 Thread KES
Здравствуйте, Questions. 1 allow all from any to any via rl0 2 allow all from any to any via rl1 109 skipto 110 tcp from any to any 80 in recv $iface #split only http trafic 109 skipto 200 all from any to any #do not split all other trafic 110 check-state 111 prob 0.5 skipto 131 in recv

Re: editing dhcpd.conf file

2008-12-30 Thread Jeffrey Goldberg
On Dec 30, 2008, at 11:53 AM, Pieter Donche wrote: Now, when someone already registered his laptop, and buys a new latop to replace the old (a different MAC address), can then omshell be used to record the change in the /usr/local/etc/dhcpd.conf file? Does omshell edit the

Re: well, blew it... sed or perl q again.

2008-12-30 Thread Roland Smith
On Tue, Dec 30, 2008 at 11:31:14AM -0800, Gary Kline wrote: The problem is that there are many, _many_ embedded A HREF=http://whatever Site/A in my hundreds, or thousands, or files. I only want to delete the http://junkfoo.com lines, _not_ the other Href links.

Re: SOLVED: Simple swap question

2008-12-30 Thread Jerry McAllister
On Fri, Dec 19, 2008 at 10:37:46AM -0500, FreeBSD wrote: Jerry McAllister a écrit : On Thu, Dec 18, 2008 at 12:02:06PM -0500, FreeBSD wrote: Daniel Bye a écrit : On Thu, Dec 18, 2008 at 10:28:18AM -0600, Kirk Strauser wrote: On Thursday 18 December 2008 09:16:10 FreeBSD

Re: SOLVED: Simple swap question

2008-12-30 Thread Jerry McAllister
On Fri, Dec 19, 2008 at 01:04:26PM -0500, FreeBSD wrote: Tom Worster a écrit : On 12/19/08 10:37 AM, FreeBSD free...@optiksecurite.com wrote: Because this server is monitored by Nagios and it emails me every hour a warning because the swap is not 100% free (I know it's pretty extreme,

Re: Performance loss with dynamic IPFW rules

2008-12-30 Thread KES
Здравствуйте, KES. Вы писали 30 декабря 2008 г., 21:47:40: K Здравствуйте, Questions. K 1 allow all from any to any via rl0 K 2 allow all from any to any via rl1 K 109 skipto 110 tcp from any to any 80 in recv $iface #split only http trafic K 109 skipto 200 all from any to any #do not

Re: well, blew it... sed or perl q again.

2008-12-30 Thread Gary Kline
On Tue, Dec 30, 2008 at 09:16:23PM +0100, Roland Smith wrote: On Tue, Dec 30, 2008 at 11:31:14AM -0800, Gary Kline wrote: The problem is that there are many, _many_ embedded A HREF=http://whatever Site/A in my hundreds, or thousands, or files. I only want to delete the

Re: Optimising NFS for system files

2008-12-30 Thread Bernard Dugas
Vince wrote: Trying to change mtu, but don't look easy, where can i find the possible range for ports ? MTU can be a pain, check what your switch supports, and the manpage for your network driver should say what MTU the nic supports. Thank you for the method ! It seems that em and re are

Re: well, blew it... sed or perl q again.

2008-12-30 Thread David Kelly
On Tue, Dec 30, 2008 at 12:51:31PM -0800, Gary Kline wrote: On Tue, Dec 30, 2008 at 09:16:23PM +0100, Roland Smith wrote: On Tue, Dec 30, 2008 at 11:31:14AM -0800, Gary Kline wrote: The problem is that there are many, _many_ embedded A HREF=http://whatever Site/A in my hundreds, or

Re[2]: BUG! Performance loss with dynamic IPFW rules

2008-12-30 Thread KES
Здравствуйте, KES. Вы писали 30 декабря 2008 г., 22:29:50: K Здравствуйте, KES. K Вы писали 30 декабря 2008 г., 21:47:40: K Здравствуйте, Questions. K 1 allow all from any to any via rl0 K 2 allow all from any to any via rl1 K 109 skipto 110 tcp from any to any 80 in recv $iface #split

Re: well, blew it... sed or perl q again.

2008-12-30 Thread Giorgos Keramidas
On Tue, 30 Dec 2008 12:51:31 -0800, Gary Kline kl...@thought.org wrote: All right, then is this the right syntax. In other words, do I need the double quotes to match the http: string? perl -pi.bak -e 'print unless /m/http:/ || eof; close ARGV if eof' * Close, but not exactly

Re: well, blew it... sed or perl q again.

2008-12-30 Thread Bertram Scharpf
Hi Gary, Am Dienstag, 30. Dez 2008, 11:31:14 -0800 schrieb Gary Kline: The problem is that there are many, _many_ embedded A HREF=http://whatever Site/A in my hundreds, or thousands, or files. I only want to delete the http://junkfoo.com lines, _not_ the other Href links. sed or perl?

Re: well, blew it... sed or perl q again.

2008-12-30 Thread Roland Smith
On Tue, Dec 30, 2008 at 12:51:31PM -0800, Gary Kline wrote: On Tue, Dec 30, 2008 at 09:16:23PM +0100, Roland Smith wrote: On Tue, Dec 30, 2008 at 11:31:14AM -0800, Gary Kline wrote: The problem is that there are many, _many_ embedded A HREF=http://whatever Site/A in my hundreds, or

Re: Optimising NFS for system files

2008-12-30 Thread Matthew Seaman
Bernard Dugas wrote: But : nfsserver# ifconfig re0 -mtu 7422 ifconfig: -mtu: bad value nfsserver# ifconfig re0 -mtu 7421 ifconfig: -mtu: bad value Syntax error on the ifconfig command line: % ifconfig de0 de0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 [...]

Re: Optimising NFS for system files

2008-12-30 Thread Bernard Dugas
Wojciech Puchar wrote: This is a Gbps network with only 1 switch between nfs server and client, with less than 0.2ms ping. So bandwidth should not be a it should work with near-wire speed on 100Mbit clients. Server and clients are 1Gbps. But i have a 4 factor of performance for reading only

Re: well, blew it... sed or perl q again.

2008-12-30 Thread Gary Kline
On Tue, Dec 30, 2008 at 11:07:05PM +0200, Giorgos Keramidas wrote: On Tue, 30 Dec 2008 12:51:31 -0800, Gary Kline kl...@thought.org wrote: All right, then is this the right syntax. In other words, do I need the double quotes to match the http: string? perl -pi.bak -e 'print

Re: Optimising NFS for system files

2008-12-30 Thread Bernard Dugas
Matthew Seaman wrote: It's 'mtu ' not '-mtu ' I'm confused, thanks so much ! There was no option without - in my old unix time ;-) Thanks to you, it seems that my max mtu is 9216 on em : client9# ifconfig em1 mtu 9216 client9# ifconfig em1 mtu 9217 ifconfig: ioctl (set mtu): Invalid

Re: well, blew it... sed or perl q again.

2008-12-30 Thread Gary Kline
On Tue, Dec 30, 2008 at 10:16:42PM +0100, Roland Smith wrote: On Tue, Dec 30, 2008 at 12:51:31PM -0800, Gary Kline wrote: On Tue, Dec 30, 2008 at 09:16:23PM +0100, Roland Smith wrote: On Tue, Dec 30, 2008 at 11:31:14AM -0800, Gary Kline wrote: The problem is that there are many,

iwi on 7-STABLE

2008-12-30 Thread Per olof Ljungmark
Hi all, Here I am away with the family visiting friends and I REALLY need to get the iwi if up and running. It's a recently updated system (7.1RC2). Read the man pages, tried different variations on legal.intel_iwi.license_ack=1, iwi_load, firmware_load etc. in /boot/loader.conf but I cannot get

Re: Optimising NFS for system files

2008-12-30 Thread Wojciech Puchar
nfsserver# time tar -cf - clientusr-amd64 /dev/null 5.001u 12.147s 1:23.92 20.4%69+1369k 163345+0io 0pf+0w client9# time tar -cf - /usr /dev/null tar: Removing leading '/' from member names 3.985u 19.779s 4:32.47 8.7% 74+1457k 0+0io 0pf+0w Note : clientusr-amd64 is around 1.3GB and is

Re: iwi on 7-STABLE

2008-12-30 Thread Per olof Ljungmark
Peter Harrison wrote: Tuesday, 30 December 2008 at 23:49:23 +0100, Per olof Ljungmark said: Hi all, Here I am away with the family visiting friends and I REALLY need to get the iwi if up and running. It's a recently updated system (7.1RC2). Read the man pages, tried different

Re: well, blew it... sed or perl q again.

2008-12-30 Thread Gary Kline
On Tue, Dec 30, 2008 at 10:16:33PM +0100, Bertram Scharpf wrote: Hi Gary, Am Dienstag, 30. Dez 2008, 11:31:14 -0800 schrieb Gary Kline: The problem is that there are many, _many_ embedded A HREF=http://whatever Site/A in my hundreds, or thousands, or files. I only want to delete the

Re: Optimising NFS for system files

2008-12-30 Thread usleepless
On 12/30/08, Michel Talon ta...@lpthe.jussieu.fr wrote: Bernard Dugas wrote: So you din't think that if all files are already in RAM on server, i will save the drive access time ? Or do you think the NFS network access is so much slow that the disk access time is just marginal ?

Re: well, blew it... sed or perl q again.

2008-12-30 Thread Bertram Scharpf
Hi Gary, Am Dienstag, 30. Dez 2008, 17:48:02 -0800 schrieb Gary Kline: On Tue, Dec 30, 2008 at 10:16:33PM +0100, Bertram Scharpf wrote: Hi Gary, Am Dienstag, 30. Dez 2008, 11:31:14 -0800 schrieb Gary Kline: The problem is that there are many, _many_ embedded A HREF=http://whatever

Re: Optimising NFS for system files

2008-12-30 Thread Bernard Dugas
Wojciech Puchar wrote: nfsserver# time tar -cf - clientusr-amd64 /dev/null 5.001u 12.147s 1:23.92 20.4%69+1369k 163345+0io 0pf+0w client9# time tar -cf - /usr /dev/null tar: Removing leading '/' from member names 3.985u 19.779s 4:32.47 8.7% 74+1457k 0+0io 0pf+0w Note :