Re: Optimising NFS for system files

2008-12-31 Thread Bernard Dugas
h density servers (6 independent servers in 1U) and trying to master the freebsd diskless process before... Best regards, -- Bernard DUGAS Mobile +33 615 333 770 ___ 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: Optimising NFS for system files

2008-12-31 Thread Bernard Dugas
ust a sidenote, you are probably getting a version of time integrated to your shell. The -h option works fine in /usr/bin/time, so run like this: client6# /usr/bin/time -h tar -cf - /usr > /dev/null Very true, this is it :-) Thanks a lot for your help ! Best regards, -- Bernard DUGAS Mobile +

Re: Optimising NFS for system files

2008-12-31 Thread Bernard Dugas
But : - tar is directed to /dev/null so that should avoid any physical writing ; - there is still memory FREE on both server and client while taring ; - the effect of tar is the same on server and client, so the "induced error" should be the same time on both. Thanks a lot, Best regards, -

Re: Optimising NFS for system files

2008-12-31 Thread Bernard Dugas
, 0.11, 0.04up 0+11:14:27 10:08:10 30 processes: 1 running, 29 sleeping CPU: 0.8% user, 0.0% nice, 9.0% system, 0.0% interrupt, 90.2% idle Mem: 19M Active, 720M Inact, 136M Wired, 240K Cache, 110M Buf, 98M Free Best regards, -- Bernard DUGAS Mobile +33 615 333 770 ___

Re: Optimising NFS for system files

2008-12-30 Thread Bernard Dugas
enty of cpu and bandwidth available : something is slowing the process that should not... But what ? How to diagnose NFS ? Where should i look in a logical diagnosis process ? Best regards -- Bernard DUGAS Mobile +33 615 333 770 ___ freebsd-questions@fr

Re: Optimising NFS for system files

2008-12-30 Thread Bernard Dugas
nvalid argument It seems that only testing can give the limit, this is not documented. Best regards, -- Bernard DUGAS Mobile +33 615 333 770 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: Optimising NFS for system files

2008-12-30 Thread Bernard Dugas
K8-class CPU) If anybody can help to look at right places... ? How may i divide the problem ? Or is my simple test wrong ? I use a tar directed to /dev/null to avoid any writing. Best regards, -- Bernard DUGAS Mobile +33 615 333 770 ___ freebsd-que

Re: Optimising NFS for system files

2008-12-30 Thread Bernard Dugas
g: -mtu: bad value with : Dec 30 18:10:38 client1 kernel: em0: Connection 6.9.6> port 0xfe00-0xfe1f mem 0xf dfc-0xfdfd,0xfdffe000-0xfdffefff irq 20 at device 25.0 on pci0 Now i understand better "MTU can be a pain" ;-) Best re

Re: Optimising NFS for system files

2008-12-30 Thread Bernard Dugas
de 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 problem, seems that NFSV3 is the limitation... Trying to change mtu, but don't look easy, where can i find the possible range for ports ? Best reg

Re: Optimising NFS for system files

2008-12-30 Thread Bernard Dugas
i should use something more efficient than NFS ? Best regards, -- Bernard DUGAS Mobile +33 615 333 770 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "

Re: Optimising pxeboot disk size

2008-12-30 Thread Bernard Dugas
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 :-) Best regards, -- Bernard DUGAS Mobile +33 615 333 770 ___ freebsd-questions

Optimising NFS for system files

2008-12-29 Thread Bernard Dugas
Hi, I'm working on a project to have many diskless clients PXEbooting on 1 nfs server. With some help :-) i could manage to share almost all system files (/, /usr,..) through NFS. i can see a reading speed difference 4 time slower on client than on server (time tar -cf - /usr > /dev/null).

Re: Optimising pxeboot disk size

2008-12-29 Thread Bernard Dugas
me sent by dhcp, but found a way to find the ip address. The only problem i have is that the "echo done" and other standard outputs are not visible in /var/log/messages. How can i keep them either in dmesg or /var/log/messages ? Best regards, -- Bernard DUGAS Mo

Re: Extracting changed files list from snapshot

2008-12-18 Thread Bernard Dugas
s. The snapdata structure contains the start of the list, the size and a lock. The sn_blklist pointer, I will have to look up. I think i'm gonna have fun with this for a bit ;) This is christmas gift. But for who :-? Thanks a lot ! -- Bernar

Re: Extracting changed files list from snapshot

2008-12-17 Thread Bernard Dugas
Mel wrote: On Tuesday 16 December 2008 15:18:19 Bernard Dugas wrote: I want to extract the list of files changed between 2 snapshots, to be able to do efficient backups. Just use dump(8)? Yes in first step, may be. But for fast replication of changes ? Imagine i have a 1TB drive with 1

Re: Optimising pxeboot disk size

2008-12-16 Thread Bernard Dugas
Paul B. Mahol wrote: Well, I tested unionfs on CURRENT and it did not crashed on me. Feel free to test it on 7 STABLE and report results to developers. Thanks for the feed-back, i will no more be afraid to test :-) I will tell you later, Best regards, -- Bernard DUGAS Mobile +33 615 333 770

Re: Extracting changed files list from snapshot

2008-12-16 Thread Bernard Dugas
Lowell Gilbert wrote: Bernard Dugas writes: I want to extract the list of files changed between 2 snapshots, to be able to do efficient backups. Any idea where to find a document about snapshots internal structure ? Or if you know any port that already do this :-? An easier way would be

Re: Extracting changed files list from snapshot

2008-12-16 Thread Bernard Dugas
Lowell Gilbert wrote: Bernard Dugas writes: I want to extract the list of files changed between 2 snapshots, to be able to do efficient backups. Any idea where to find a document about snapshots internal structure ? Or if you know any port that already do this :-? An easier way would

Re: Any doc reference on /entropy file ?

2008-12-16 Thread Bernard Dugas
e :-) The etc/default/rc.conf detailled file is not searchable in the man page, nor the default /entropy file. Best regards, -- Bernard DUGAS Mobile +33 615 333 770 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/fr

Copying system/ports configuration?

2008-12-16 Thread Bernard Dugas
author to add an -export option readable to built new ports on another computer. May be an -export-packages option would be nice also ? Best regards, -- Bernard DUGAS Mobile +33 615 333 770 ___ freebsd-questions@freebsd.org mailing list http://lists.fre

Re: Optimising pxeboot disk size

2008-12-16 Thread Bernard Dugas
ommon shared configuration to specific private configuration. unionfs looks very close to my dream, but it is currently not available for production :-( Best regards, -- Bernard DUGAS Mobile +33 615 333 770 ___ freebsd-questions@freebsd.org mailing

Re: Any doc reference on /entropy file ?

2008-12-16 Thread Bernard Dugas
e file is choosen in rc.conf, so after /var is mounted. As this is for diskless station, it would be fun to change the entropy file through the nfs server RANDOM, even better thant at each boot :-) Best regards, -- Bernard DUGAS Mobile +33 615 333 770 _

Re: Optimising pxeboot disk size

2008-12-16 Thread Bernard Dugas
SYSTEM TYPE IS NOT YET FULLY SUPPORTED (READ: IT DOESN'T WORK)AND USING IT MAY, IN FACT, DESTROY DATA ON YOUR SYSTEM. USE AT YOUR OWN RISK. BEWARE OF DOG. SLIPPERY WHEN WET." Sad not to be a coder... Best regards, -- Bernard DUGAS Mobile +33 615 333 770 ___

Re: Any doc reference on /entropy file ?

2008-12-16 Thread Bernard Dugas
unted read-only, how can i tell the ramdom generator to put this /entropy file somewhere in /var, where i think it should be ? Or is there any tricky hidden problem ? Thanks a lot, Best regards, -- Bernard DUGAS Mobile +33 615 333 770 ___ fr

Extracting changed files list from snapshot

2008-12-16 Thread Bernard Dugas
Hi, I want to extract the list of files changed between 2 snapshots, to be able to do efficient backups. Any idea where to find a document about snapshots internal structure ? Or if you know any port that already do this :-? Thanks a lot, Best regards, -- Bernard DUGAS Mobile +33 615 333

Re: Optimising pxeboot disk size

2008-12-16 Thread Bernard Dugas
rtition inheritance, like in object languages... Dreams are allowed :-) Thanks a lot, Best regards, -- Bernard DUGAS Mobile +33 615 333 770 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To u

Any doc reference on /entropy file ?

2008-12-16 Thread Bernard Dugas
Hi, When i look at / in a standard installation like : FreeBSD XXX 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 There is only 1 file, named entropy : -rw--- 1 root wheel 4096 Dec 11 17:36 entropy I

Optimising pxeboot disk size

2008-12-16 Thread Bernard Dugas
Hi, I'm working on a project to have many diskless clients PXEbooting on 1 nfs server. This works now, but i would like to have a more efficient use of disk space on NFS server. Lot of root directories can be shared and mounted in fstab, after booting process : /usr, /home... In current

Re: Any 4.10 installation on asus pundit ?

2004-06-20 Thread Bernard Dugas
reported a bug on that problems : http://www.freebsd.org/cgi/query-pr.cgi?pr=68149 Thanks a lot, -- __ Bernard DUGAS | | | Technoparc Pays de Gex mailto:[EMAIL PROTECTED] | | 30 Rue Au

Re: Any 4.10 installation on asus pundit ?

2004-06-20 Thread Bernard Dugas
e bfe should be in. Any hints ? Thanks a lot, best regards, -- __ Bernard DUGAS | | | Technoparc Pays de Gex mailto:[EMAIL PROTECTED] | | 30 Rue Auguste Piccard Tel.: +33 6

Re: Any 4.10 installation on asus pundit ?

2004-06-20 Thread Bernard Dugas
Hi, Robert Downes a écrit : Bernard Dugas wrote: Thanks very much, Robert, it was the udma option : but this is quite inefficient if I can't use UDMA with FreeBSD ? FreeBSD will drop down to PIO mode, probably mode 4. According to Scott Mueller's book, PIO mode 4 offers up to 16

Re: Any 4.10 installation on asus pundit ?

2004-06-19 Thread Bernard Dugas
was the udma option : but this is quite inefficient if I can't use UDMA with FreeBSD ? Best regards, -- __ Bernard DUGAS | | | Technoparc Pays de Gex mailto:[EMAIL PROTECTE

Any 4.10 installation on asus pundit ?

2004-06-15 Thread Bernard Dugas
rdware/2003-August/000451.html but there is no answer on the list. I should have look at that before, but I was confident in freeBSD ;-) Thanks a lot, -- __ Bernard DUGAS | | | Techn

Re: how to talk to the serial and parallel ports through a C

2003-06-11 Thread Bernard Dugas
7; RtsS7=!nnRtsS7; } else { //les 2 variables à 0 ne modifient aucun masque RtsS7=0; nnRtsS7=0; } //décalage de RtsS7 en bit 1 pmask4=DtrS4|(RtsS7<<1); nmask4=~(nnDtrS4|(nnRtsS7<<1)); //on modifie seulement le(s) bit(s) modifié(s) de la valeur //lue immédiatement avant, pour limiter

Re: how to talk to the serial and parallel ports through a C

2003-06-11 Thread Bernard Dugas
t > any luck finding what I want. > > Any pointers would be appreciated > > Thanks > > Daniel Malaby voice:(510) 531-6500 > Peritek Corp. fax: (510) 530-8563 > 5550 Redwood Road email: [EMAIL