Re: UMA zone allocator memory fragmentation questions

2006-03-01 Thread Rohit Jalan
> > On the general topic of how to implement this -- I'm not sure what the best > approach is. Your approach gives quite a bit of flexibility. I wonder, > though, if it would be better to add an explicit accounting feature rather > than a more flexible callback feature? I.e., have a notion o

Re: UMA zone allocator memory fragmentation questions

2006-03-01 Thread Robert Watson
On Wed, 1 Mar 2006, Rohit Jalan wrote: My problem is that I need to enforce a single memory limit on the total number of pages used by multiple zones. The limit changes dynamically based on the number of pages being used by other non-zone allocations and also on the amount of available swap

Re: UMA zone allocator memory fragmentation questions

2006-02-28 Thread Rohit Jalan
Hi Robert, My problem is that I need to enforce a single memory limit on the total number of pages used by multiple zones. The limit changes dynamically based on the number of pages being used by other non-zone allocations and also on the amount of available swap and memory. I've tried to do t

Re: UMA zone allocator memory fragmentation questions

2006-02-28 Thread Robert Watson
On Mon, 27 Feb 2006, Rohit Jalan wrote: Is there an upper limit on the amount of fragmentation / wastage that can occur in a UMA zone? Is there a method to know the total number of pages used by a UMA zone at some instance of time? Hey there Rohit, UMA allocates pages retrieved from VM as

UMA zone allocator memory fragmentation questions

2006-02-27 Thread Rohit Jalan
Hi, Is there an upper limit on the amount of fragmentation / wastage that can occur in a UMA zone? Is there a method to know the total number of pages used by a UMA zone at some instance of time? Thanks, rohit -- ___ freebsd-hackers@freebsd.org mailin