improved gettimeofday() timer resolution by maintaining acceptable load

Fri Dec  2 00:16:59 2005  Tim Janik  <timj@imendio.com>

        * glib/gslice.c: improved gettimeofday() timer resolution by maintaining
        acceptable load distribution of the syscall.
        (allocator_get_magazine_threshold): reduce minimum/single-thread magazine
        sizes to approximately page_size/2.5 to avoid excessive startup allocations.
This commit is contained in:
Tim Janik 2005-12-01 23:21:49 +00:00 committed by Tim Janik
parent 2319431345
commit 8a5fb6c1be
3 changed files with 6 additions and 6 deletions

View File

@ -2,8 +2,8 @@ Fri Dec 2 00:16:59 2005 Tim Janik <timj@imendio.com>
* glib/gslice.c: improved gettimeofday() timer resolution by maintaining
acceptable load distribution of the syscall.
(slab_allocator_free_chunk): reduce minimum/single-thread magazine sizes
to approximately page_size/2.5 to avoid excessive startup allocations.
(allocator_get_magazine_threshold): reduce minimum/single-thread magazine
sizes to approximately page_size/2.5 to avoid excessive startup allocations.
2005-12-01 Matthias Clasen <mclasen@redhat.com>

View File

@ -2,8 +2,8 @@ Fri Dec 2 00:16:59 2005 Tim Janik <timj@imendio.com>
* glib/gslice.c: improved gettimeofday() timer resolution by maintaining
acceptable load distribution of the syscall.
(slab_allocator_free_chunk): reduce minimum/single-thread magazine sizes
to approximately page_size/2.5 to avoid excessive startup allocations.
(allocator_get_magazine_threshold): reduce minimum/single-thread magazine
sizes to approximately page_size/2.5 to avoid excessive startup allocations.
2005-12-01 Matthias Clasen <mclasen@redhat.com>

View File

@ -2,8 +2,8 @@ Fri Dec 2 00:16:59 2005 Tim Janik <timj@imendio.com>
* glib/gslice.c: improved gettimeofday() timer resolution by maintaining
acceptable load distribution of the syscall.
(slab_allocator_free_chunk): reduce minimum/single-thread magazine sizes
to approximately page_size/2.5 to avoid excessive startup allocations.
(allocator_get_magazine_threshold): reduce minimum/single-thread magazine
sizes to approximately page_size/2.5 to avoid excessive startup allocations.
2005-12-01 Matthias Clasen <mclasen@redhat.com>