[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory allocation performance
- To: Robert Watson <rwatson_(_at_)_FreeBSD_(_dot_)_org>
- Subject: Re: Memory allocation performance
- From: Alexander Motin <mav_(_at_)_FreeBSD_(_dot_)_org>
- Date: Sun, 03 Feb 2008 01:12:46 +0200
- Cc: freebsd-hackers_(_at_)_freebsd_(_dot_)_org, Kris Kennaway <kris_(_at_)_FreeBSD_(_dot_)_org>, freebsd-performance_(_at_)_freebsd_(_dot_)_org, Julian Elischer <julian_(_at_)_elischer_(_dot_)_org>
Robert Watson wrote:
Basically, the goal would be
to make the pcpu cache FIFO as much as possible as that maximizes the
chances that the newly allocated object already has lines in the cache.
Why FIFO? I think LIFO (stack) should be better for this goal as the
last freed object has more chances to be still present in cache.
--
Alexander Motin
_______________________________________________
freebsd-performance_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org