Recommended amount of swap

2011-09-05 Thread Sean Hamilton
What is the state of the art for the recommended amount of swap in FreeBSD? Both normal systems with 512 MB - 8 GB of RAM, and large database systems with around 128 - 256 GB. Thanks in advance, -- Sean Hamilton seanhamil...@gmail.com ___

Detach USB Device Driver and Attach it to ugen driver at runtime

2011-09-05 Thread Daniel Grech
Hi, I'm using libusb to gain access to raw USB Data from userspace. My problem is that this library only works with devices which are treated as generic devices (handled by the ugen driver). I need a mechanism that will allow me to detach any device specific drivers that are attached to a device

Re: Detach USB Device Driver and Attach it to ugen driver at runtime

2011-09-05 Thread Hans Petter Selasky
On Monday 05 September 2011 15:40:44 Daniel Grech wrote: Hi, I'm using libusb to gain access to raw USB Data from userspace. My problem is that this library only works with devices which are treated as generic devices (handled by the ugen driver). I need a mechanism that will allow me to

Re: TIME_WAIT Assassination in FreeBSD???

2011-09-05 Thread Robert Watson
On Sat, 3 Sep 2011, Jarrod Lee Petz wrote: 3. Does FreeBSD handle this situation? How? I can't seem to find much info on TIME_WAIT assassination in FreeBSD is mentioned in RFC 6056 I'm not familiar with the RFC side here, but I can confirm that FreeBSD will recycle TIMEWAIT connections more

Re: TIME_WAIT Assassination in FreeBSD???

2011-09-05 Thread Daniel Hartmeier
In FreeBSD, the ftp client allocates the port for an active-mode data connection by calling bind(2) with so_port set to 0, which means it lets the kernel pick a port, see

Re: Recommended amount of swap

2011-09-05 Thread Dan Nelson
In the last episode (Sep 05), Sean Hamilton said: What is the state of the art for the recommended amount of swap in FreeBSD? Both normal systems with 512 MB - 8 GB of RAM, and large database systems with around 128 - 256 GB. I suggest 2x RAM for systems less than 4gb or so. Anything more

Re: Recommended amount of swap

2011-09-05 Thread Eitan Adler
On Mon, Sep 5, 2011 at 3:48 PM, Dan Nelson dnel...@allantgroup.com wrote: In the last episode (Sep 05), Sean Hamilton said: What is the state of the art for the recommended amount of swap in FreeBSD? Both normal systems with 512 MB - 8 GB of RAM, and large database systems with around 128 -

Re: Recommended amount of swap

2011-09-05 Thread RW
On Mon, 5 Sep 2011 14:48:57 -0500 Dan Nelson wrote: In the last episode (Sep 05), Sean Hamilton said: What is the state of the art for the recommended amount of swap in FreeBSD? Both normal systems with 512 MB - 8 GB of RAM, and large database systems with around 128 - 256 GB. I suggest

Re: Recommended amount of swap

2011-09-05 Thread Dan Nelson
In the last episode (Sep 05), Eitan Adler said: On Mon, Sep 5, 2011 at 3:48 PM, Dan Nelson dnel...@allantgroup.com wrote: In the last episode (Sep 05), Sean Hamilton said: What is the state of the art for the recommended amount of swap in FreeBSD? Both normal systems with 512 MB - 8 GB of

Re: Detach USB Device Driver and Attach it to ugen driver at runtime

2011-09-05 Thread Daniel O'Connor
On 05/09/2011, at 23:10, Daniel Grech wrote: Hi, I'm using libusb to gain access to raw USB Data from userspace. My problem is that this library only works with devices which are treated as generic devices (handled by the ugen driver). I need a mechanism that will allow me to detach any

Re: Recommended amount of swap

2011-09-05 Thread Mark Linimon
On Mon, Sep 05, 2011 at 02:48:57PM -0500, Dan Nelson wrote: I suggest 2x RAM for systems less than 4gb or so. Anything more than 4GB of swap is probably never going to be used I see you don't do mass package builds :-) Or, even build openoffice or some of the math packages. and if it is