Commit Graph

  • d128efcb6a Relocate a few prof utilities to the right modules Yinan Zhang 2020-04-03 10:26:03 -07:00
  • 4736fb4fc9 Move file handling logic in prof_data to prof_sys Yinan Zhang 2020-04-02 16:39:41 -07:00
  • 767a2e1790 Move file handling logic in prof to prof_sys Yinan Zhang 2020-04-02 16:20:01 -07:00
  • 03ae509f32 Create prof_sys module for reading system thread name Yinan Zhang 2020-03-31 09:02:55 -07:00
  • adfd9d7b1d Change tsdn to tsd for thread name allocation Yinan Zhang 2020-03-31 10:43:04 -07:00
  • 841af2b426 Move thread name handling to prof_data module Yinan Zhang 2020-03-31 10:39:40 -07:00
  • 8118056c03 Expose prof_data testing internals only in prof tests Yinan Zhang 2020-03-31 10:13:55 -07:00
  • f43ac8543e Correct prof header macro namings Yinan Zhang 2020-03-31 09:42:11 -07:00
  • c8683bee80 Unify printing for prof counts object Yinan Zhang 2020-03-30 16:48:45 -07:00
  • 5d292b5660 Push error handling logic out of core dumping logic Yinan Zhang 2020-03-31 10:00:37 -07:00
  • f541871f5d Reduce prof dump buffer size in debug build Yinan Zhang 2020-06-19 12:21:17 -07:00
  • 354183b10d Define prof dump buffer size centrally Yinan Zhang 2020-06-19 12:03:12 -07:00
  • 7455813e57 Make dump file writing replaceable in test Yinan Zhang 2020-03-17 20:27:52 -07:00
  • 21e44c45d9 Make maps file opening replaceable in test Yinan Zhang 2020-03-17 19:57:06 -07:00
  • 4bb4037dbe Extract utility function for opening maps file Yinan Zhang 2020-03-17 19:46:18 -07:00
  • f307b25804 Only replace the dump file opening function in test Yinan Zhang 2020-03-17 11:05:07 -07:00
  • d8cea87562 Move size inspections to test/analyze Yinan Zhang 2020-06-25 09:38:23 -07:00
  • 537a4bedb4 Add a tool to examine random number distributions Yinan Zhang 2020-05-04 14:58:25 -07:00
  • d460333efb Improve naming for prof system thread name option Yinan Zhang 2020-06-19 15:16:53 -07:00
  • 25e43c6022 Witness: Make ranks an enum. David T. Goldblatt 2020-06-18 15:41:56 -07:00
  • 092fcac0b4 Remove unnecessary source files Yinan Zhang 2020-06-19 08:58:22 -07:00
  • a795b19327 Remove beginning define in source files Yinan Zhang 2020-06-17 16:15:06 -07:00
  • 24bbf376ce Unify arena flag reading and selection Yinan Zhang 2020-05-13 14:49:41 -07:00
  • e128b170a0 Do not fallback to auto arena when manual arena is requested Yinan Zhang 2020-05-13 14:17:54 -07:00
  • 95a59d2f72 Unify tcache flag reading and selection Yinan Zhang 2020-05-13 14:06:43 -07:00
  • 4b0c008489 Unify zero flag reading and setting Yinan Zhang 2020-05-13 11:19:09 -07:00
  • 2a84f9b8fc Unify alignment flag reading and computation Yinan Zhang 2020-05-13 11:16:07 -07:00
  • b7858abfc0 Expose prof testing internal functions Yinan Zhang 2020-06-17 09:57:54 -07:00
  • 40fa6674a9 Fix prof timestamp conf reading Yinan Zhang 2020-06-17 15:20:51 -07:00
  • 7e09a57b39 stress/sizes: Fix an off-by-one issue. David Goldblatt 2020-06-12 09:39:46 -07:00
  • dcfa6fd507 stress/sizes: Add a couple more types. David Goldblatt 2020-06-12 09:37:39 -07:00
  • 40672b0b78 Remove duplicate logging in malloc. David Goldblatt 2020-06-12 20:12:15 -07:00
  • 4aea743279 High Resolution Timestamps for Profiling Jon Haslam 2020-06-02 06:42:44 -07:00
  • d82a164d0d Add thread.peak.[read|reset] mallctls. David Goldblatt 2020-05-27 14:31:00 -07:00
  • fe7108305a Add peak_t, for tracking allocator net max. David Goldblatt 2020-05-27 14:30:28 -07:00
  • 17a64fe91c Add a small program to print data structure sizes. David Goldblatt 2020-05-27 11:56:36 -07:00
  • 3e19ebd2ea Add lock to protect prof last-N dumping Yinan Zhang 2020-04-13 12:05:51 -07:00
  • a835d9cf85 Make prof last-N dumping non-blocking Yinan Zhang 2020-04-13 11:54:03 -07:00
  • fc8bc4b5c0 Increase dump buffer for prof last-N list Yinan Zhang 2020-04-13 11:51:25 -07:00
  • 264d89d641 Extract restore and async cleanup functions for prof last-N list Yinan Zhang 2020-04-13 11:48:01 -07:00
  • 857ebd3daf Make edata pointer on prof recent record an atomic fence Yinan Zhang 2020-04-10 16:26:55 -07:00
  • b8bdea6b26 Fix: prof_recent_alloc_max_ctl_read() does not take tsd Yinan Zhang 2020-04-10 16:02:39 -07:00
  • 730658f72f Extract alloc/dalloc utility for last-N nodes Yinan Zhang 2020-04-10 15:54:40 -07:00
  • 035be44867 Separate out dumping for each prof recent record Yinan Zhang 2020-04-10 15:41:20 -07:00
  • 8da0896b79 Tcache: Make an integer conversion explicit. David Goldblatt 2020-05-27 17:43:23 -07:00
  • cd28e60337 Don't warn on uniform initialization. David Goldblatt 2020-05-27 17:29:25 -07:00
  • 6cdac3c573 Tcache: Make flush fractions configurable. David Goldblatt 2020-05-13 15:32:18 -07:00
  • 7503b5b33a Stats, CTL: Expose new tcache settings. David Goldblatt 2020-05-13 10:36:27 -07:00
  • ee72bf1cfd Tcache: Add tcache gc delay option. David Goldblatt 2020-05-11 16:24:17 -07:00
  • d338dd45d7 Tcache: Make incremental gc bytes configurable. David Goldblatt 2020-05-11 15:53:30 -07:00
  • ec0b579563 Tcache: Privatize opt_lg_tcache_max default. David Goldblatt 2020-05-11 15:33:23 -07:00
  • 10b96f6351 Tcache: Remove some unused gc constants. David Goldblatt 2020-05-11 15:27:50 -07:00
  • 181093173d Tcache: make slot sizing configurable. David Goldblatt 2020-05-11 15:03:06 -07:00
  • b58dea8d1b Cache bin: expose ncached_max publicly. David Goldblatt 2020-05-11 14:19:37 -07:00
  • 634afc4124 Tcache: Make size computation configurable. David Goldblatt 2020-05-11 12:08:19 -07:00
  • 97b7a9cf77 Add a fill/flush microbenchmark. David Goldblatt 2020-05-11 13:05:36 -07:00
  • 33372cbd40 cpu instruction spin wait for arm32/64 David Carlier 2020-04-27 20:28:17 +01:00
  • 27f29e424b LQ_QUANTUM should be 4 on mips64 hardware. Brooks Davis 2020-05-01 22:08:37 +01:00
  • eda9c2858f Edata: zero stack edatas before initializing. David Goldblatt 2020-05-13 12:42:04 -07:00
  • 5dead37a9d Allow narenas:default. David Goldblatt 2020-05-13 12:20:30 -07:00
  • dcea2c0f8b Get rid of TSD -> thread event dependency Yinan Zhang 2020-04-16 11:50:29 -07:00
  • 75dae934a1 Always initialize TE counters in TSD init Yinan Zhang 2020-04-17 14:10:18 -07:00
  • b06dfb9ccc Push event handlers to constituent modules Yinan Zhang 2020-04-17 10:38:06 -07:00
  • 381c97caa4 Treat postponed prof sample event as new event Yinan Zhang 2020-04-16 13:37:19 -07:00
  • abd4674931 Extract out per event postponed wait time fetching Yinan Zhang 2020-04-16 13:33:56 -07:00
  • f72014d097 Only compute thread event threshold once per trigger Yinan Zhang 2020-03-25 09:33:52 -07:00
  • 7324c4f85f Break down event init and handler functions Yinan Zhang 2020-04-16 10:00:46 -07:00
  • 6de77799de Move thread event wait time update to local Yinan Zhang 2020-03-24 08:31:34 -07:00
  • 733ae918f0 Extract out per event new wait time fetching Yinan Zhang 2020-04-15 10:49:08 -07:00
  • 1e2524e15a Do not reset sample wait time when re-initing tdata Yinan Zhang 2020-03-23 14:58:33 -07:00
  • 855d20f6f3 Remove outdated comments in thread event Yinan Zhang 2020-03-23 14:57:20 -07:00
  • fc052ff728 Migrate counter to use locked int Yinan Zhang 2020-04-14 15:08:00 -07:00
  • b543c20a94 Minor update to locked int Yinan Zhang 2020-04-14 14:52:20 -07:00
  • f533ab6da6 Add forking handling for stats Yinan Zhang 2020-04-15 15:09:32 -07:00
  • 508303077b Add forking handling for prof idump counter Yinan Zhang 2020-04-15 14:58:58 -07:00
  • 4d970f8bfc Add forking handling for counter module Yinan Zhang 2020-04-15 14:52:01 -07:00
  • 2097e1945b Unify write callback signature Yinan Zhang 2020-04-17 14:49:20 -07:00
  • fef9abdcc0 Cleanup tcache allocation logic Yinan Zhang 2020-04-28 10:40:46 -07:00
  • e6cb6919c0 Consolidate prof inline function headers Yinan Zhang 2020-04-28 09:59:37 -07:00
  • d454af90f1 Remove unused prof_accum field from arena Yinan Zhang 2020-04-15 12:39:05 -07:00
  • 8be5584494 Initialize prof idump counter once rather than once per arena Yinan Zhang 2020-04-15 12:21:38 -07:00
  • e10e5059e8 Make prof_idump_accum() non-inline Yinan Zhang 2020-04-15 12:13:22 -07:00
  • 039bfd4e30 Do not rollback prof idump counter in arena_prof_promote() Yinan Zhang 2020-04-15 11:08:25 -07:00
  • 0295aa38a2 Deduplicate entries in witness error message Yinan Zhang 2020-04-21 13:29:07 -07:00
  • f1f8a75496 Let opt.zero propagate to core allocation. David Goldblatt 2020-04-29 09:05:57 -07:00
  • 2c09d43494 Add a benchmark of large allocations. David Goldblatt 2020-04-28 12:18:36 -07:00
  • 46471ea327 SC: Name the max lookup constant. David Goldblatt 2020-04-15 14:08:20 -07:00
  • 79dd0c04ed SC: Simplify SC_NPSIZES computation. David Goldblatt 2020-04-14 18:32:54 -07:00
  • fb6cfffd39 Configure: Get rid of LG_QUANTA. David Goldblatt 2020-04-13 11:39:49 -07:00
  • 4f8efba824 TSD: Make rtree_ctx a slow-path field. David Goldblatt 2020-04-10 15:02:38 -07:00
  • cd29ebefd0 Tcache: treat small and large cache bins uniformly David Goldblatt 2020-04-07 20:04:46 -07:00
  • a13fbad374 Tcache: split up fast and slow path data. David Goldblatt 2020-04-07 17:48:35 -07:00
  • 7099c66205 Arena: fill in terms of cache_bins. David Goldblatt 2020-04-07 17:49:50 -07:00
  • 40e7aed59e TSD: Move in some of the tcache fields. David Goldblatt 2020-04-07 16:59:57 -07:00
  • 58a00df238 TSD: Put all fast-path data together. David Goldblatt 2020-04-07 16:28:43 -07:00
  • 3589571bfd SC: use SC_LG_NGROUP instead of its value. David Goldblatt 2020-04-10 16:09:02 -07:00
  • 877af247a8 QL, QR: Add documentation. David Goldblatt 2020-04-10 11:38:33 -07:00
  • 79ae7f9211 Rtree: Remove the per-field accessors. David Goldblatt 2020-03-19 17:58:44 -07:00
  • 26e9a3103d PA: Simple decay test. David Goldblatt 2020-03-18 12:04:02 -07:00
  • bb6a418523 Emap: Drop szind/slab splitting parameters. David Goldblatt 2020-03-16 11:31:38 -07:00