Tiny P0/FC tuning: per-class FastCache caps honored; defaults C5=96, C7=48. Raise direct-FC drain threshold default to 64. Default class7 direct-FC OFF for stability. 256B fixed-size shows branch-miss drop (~11%→~8.9%) and ~4.5M ops/s on Ryzen 7 5825U. Note: 1KB fixed-size currently SEGVs even with direct-FC OFF, pointing to non-direct P0 path; propose gating P0 for C7 and triage next (adopt-before-map recheck, bounds asserts). Update CURRENT_TASK.md with changes and results path.

This commit is contained in:
Moe Charm (CI)
2025-11-10 00:25:02 +09:00
parent 70ad1ffb87
commit 94e7d54a17
10 changed files with 1024 additions and 11 deletions

View File

@ -17,13 +17,13 @@ static const uint16_t k_fast_cap_defaults_factory[TINY_NUM_CLASSES] = {
128, // Class 2: 32B
128, // Class 3: 64B (reduced from 512 to limit RSS)
128, // Class 4: 128B (trimmed via ACE/TLS caps)
128, // Class 5: 256B
96, // Class 5: 256B (favor fewer round-trips)
128, // Class 6: 512B
64 // Class 7: 1KB (enable small fast cache to reduce Superslab path)
48 // Class 7: 1KB (reduce superslab reliance)
};
uint16_t g_fast_cap_defaults[TINY_NUM_CLASSES] = {
128, 128, 128, 128, 128, 128, 128, 64
128, 128, 128, 128, 128, 96, 128, 48
};
void tiny_config_reset_defaults(void) {