[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd-l4 viengoos/thread.h viengoos/server.c vie...
From: |
Neal H. Walfield |
Subject: |
hurd-l4 viengoos/thread.h viengoos/server.c vie... |
Date: |
Fri, 27 Jun 2008 15:17:33 +0000 |
CVSROOT: /sources/hurd
Module name: hurd-l4
Changes by: Neal H. Walfield <neal> 08/06/27 15:17:33
Modified files:
viengoos : thread.h server.c rm.h pager.c object.c ager.c
activity.h ChangeLog
ruth : ruth.c ChangeLog
hurd : activity.h ChangeLog
hieronymus : hieronymus.c ChangeLog
benchmarks/boehm-gc/patches: 05-viengoos-scheduler.patch
benchmarks/boehm-gc: ChangeLog
benchmarks : shared-memory-distribution.c
activity-distribution.c GCbench.c ChangeLog
Log message:
hurd/
2008-06-27 Neal H. Walfield <address@hidden>
* activity.h (RM_activity_stats): Don't define.
(RM_activity_info): Replace with this.
(struct activity_stats): Add field pressure_local. Make field
pressure an 8 bit integer.
(struct activity_stats_buffer): Remove structure.
(struct activity_info): Replace with this structure.
(activity_info_stats): Define.
(activity_info_pressure): Likewise.
(activity_stats): Remove method.
(activity_info): Replace with this.
viengoos/
2008-06-27 Neal H. Walfield <address@hidden>
* activity.h (struct activity): Add fields free_bad_karma,
free_goal, free_allocations and free_initial_allocation.
* rm.h (rm_method_id_string): Replace RM_activity_stats handling
with RM_activity_info handling.
* thread.h (THREAD_WAIT_STATS): Remove.
(THREAD_WAIT_ACTIVITY_INFO): Replace with this.
(struct thread): Add field wait_reason_arg2.
* ager.c (update_stats): Account for local pressure when
calculating availability. Don't use activity_stats to inform
threads of new statistics but activity_info.
* object.c (object_desc_claim): Adjust the activity's FREE_GOAL,
FREE_ALLOCATIONS, and FRAMES_EXCLUDED fields as appropriate.
* pager.c (pager_collect): When selecting a victim, don't
include
an activity's excluded frames in its allocation. Don't even
consider activities for which FREE_ALLOCATIONS is non-zero.
Having selected a victim, don't increase the pressure do
drastically. Update the local pressure. Having selected a
victim
from which to revoke pages, send any waiting threads a message
to
free memory. If VICTIM->FREE_BAD_KARMA is 0, assume that the
memory will be freed and give the activity 100 claims to do it.
If the activity has bad karma, decrease it by one.
* server.c (server_loop): Replace activity_stats implementation
with implementation appropriate for activity_info.
hieronymus/
2008-06-27 Neal H. Walfield <address@hidden>
* hieronymus.c (do_gather_stats): Change to use activity_info
instead of activity_stats.
(main): Introduce code to delay process creation.
ruth/
2008-06-27 Neal H. Walfield <address@hidden>
* ruth.c (main): Update to use activity_info instead of
activity_stats.
benchmarks/
2008-06-27 Neal H. Walfield <address@hidden>
* shared-memory-distribution.c (main): Update to use
activity_info
instead of activity_status.
* activity-distribution.c (main): Likewise.
* GCbench.c: Include <stdint.h> and <stdbool.h>.
(now): New function.
(struct stats): Add fields time, gcs and iter.
(have_a_hog): New variable.
(mem_hog) [__gnu_hurd_viengoos__]: Rename from this...
(helper) [__gnu_hurd_viengoos__]: ... to this. Use
activity_info,
not activity_stats. Gather more data.
(helper) [! __gnu_hurd_viengoos__]: New function.
(tid): Rename from this...
(helper_tid): ... to this.
(helper_fork) [__gnu_hurd_viengoos__]: Name activities.
(main): Improve output.
benchmarks/boehm-gc/
2008-06-27 Neal H. Walfield <address@hidden>
* patches/05-viengoos-scheduler.patch: Update to use
activity_info
in place of activity_stats. Listen for pressure messages and
act
appropriately. Tighten adaptive code. Improve profiling code.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/thread.h?cvsroot=hurd&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/server.c?cvsroot=hurd&r1=1.64&r2=1.65
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/rm.h?cvsroot=hurd&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/pager.c?cvsroot=hurd&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/object.c?cvsroot=hurd&r1=1.52&r2=1.53
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/ager.c?cvsroot=hurd&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/activity.h?cvsroot=hurd&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/ChangeLog?cvsroot=hurd&r1=1.224&r2=1.225
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/ruth/ruth.c?cvsroot=hurd&r1=1.31&r2=1.32
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/ruth/ChangeLog?cvsroot=hurd&r1=1.40&r2=1.41
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/activity.h?cvsroot=hurd&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/ChangeLog?cvsroot=hurd&r1=1.123&r2=1.124
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hieronymus/hieronymus.c?cvsroot=hurd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hieronymus/ChangeLog?cvsroot=hurd&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/benchmarks/boehm-gc/patches/05-viengoos-scheduler.patch?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/benchmarks/boehm-gc/ChangeLog?cvsroot=hurd&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/benchmarks/shared-memory-distribution.c?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/benchmarks/activity-distribution.c?cvsroot=hurd&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/benchmarks/GCbench.c?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/benchmarks/ChangeLog?cvsroot=hurd&r1=1.7&r2=1.8