Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2008 13:10:35 -0500
From:      Jerry McAllister <jerrymc@msu.edu>
To:        "millueradfa@yahoo.com" <millueradfa@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Some ideas for FreeBSD
Message-ID:  <20080206181035.GA19819@gizmo.acns.msu.edu>
In-Reply-To: <50460.33951.qm@web34512.mail.mud.yahoo.com>
References:  <50460.33951.qm@web34512.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 06, 2008 at 09:23:28AM -0800, millueradfa@yahoo.com wrote:

> Dear FreeBSD Developers,
> 
> I have a few suggestions for how FreeBSD can be
> improved in an upcoming release. 


Sounds like you have your work cut out for you.

////jerry



> 
> My first is to allow for dynamically resizeable swap
> file of some sort, and via kqueue, a notification
> facility to notify a program when swap is about to run
> out, when a program has made a memory request which
> requires more swap space than is avialable, and when
> swap space is run out. There should also be commands
> that can shrink the swap files, and see how much is
> being used in the swap files. This allows for the user
> to write customised programs that can manage and
> allocate new swap space as needed. The OS can come
> with a standard version of such a program that allows
> a user to specify a maximum swap file size (including
> infinite).
> 
> I have also run into problems with making multiple
> space files on the same disk, in trying to address
> these swap exhaust problems, which caused thrashing. I
> believe this happened to when the swap partition and a
> swap file were on the same drive. Perhaps a way should
> be looked at to have multiple swap partititions and
> files on the same disk. That could also allow another
> way for additional swap space to be allocated, but I
> dont know if having the possibility of a large number
> of swap files is less efficient than a dynamically
> growing swap file. There should also be a feature to
> see how much of the swap file is used.
> 
> I would much rather have dynamically allocated and
> deallocated swap space so I do not have large unused
> swap space eating up the disk, than having to
> predefine the swap size. 
> 
> Another idea I have is for setting the Do Not Fragment
> flag on a  per connection option for UDP connections,
> and a per connection option to disable UDP checksum. 
> 
> The third idea is for more of a move to Linux and, SUS
> , and POSIX source compatability in regards to
> additional features supported by these systems. I
> still in 6.0 run into some calls that are not
> supported by FreeBSD that is a real headache. I ran
> into this with posix_memalign in some software.
> Although posix_memalign is more modern, If it would be
> trivial to add support for linux specific valloc and
> memalign why not do so as well, to maintain
> compatability with older Linux software. It is better
> to just make FreeBSD be as compatable and for stuff to
> compile out of box, as possible than to haggle over
> conditional ifdefs and changing lines of code in
> software. 
> 
> thank you for your reading these suggestions, it is
> greatly appreciated.
> 
> 
>       ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page. 
> http://www.yahoo.com/r/hs
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080206181035.GA19819>