Skip to content

Commit

Permalink
update patch
Browse files Browse the repository at this point in the history
  • Loading branch information
eebssk1 committed Jul 24, 2024
1 parent cce5fdb commit 55bb979
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 31 deletions.
14 changes: 7 additions & 7 deletions patch/cl/0106-intel_idle-tweak-cpuidle-cstates.patch
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ index 0b66e25c0e2d..406b41b387d5 100644
.flags = MWAIT2flg(0x01) | CPUIDLE_FLAG_ALWAYS_ENABLE,
.exit_latency = 10,
- .target_residency = 20,
+ .target_residency = 95,
+ .target_residency = 90,
.enter = &intel_idle,
.enter_s2idle = intel_idle_s2idle, },
{
Expand All @@ -94,7 +94,7 @@ index 0b66e25c0e2d..406b41b387d5 100644
.flags = MWAIT2flg(0x10) | CPUIDLE_FLAG_TLB_FLUSHED,
.exit_latency = 40,
- .target_residency = 100,
+ .target_residency = 800,
+ .target_residency = 900,
.enter = &intel_idle,
.enter_s2idle = intel_idle_s2idle, },
{
Expand All @@ -103,7 +103,7 @@ index 0b66e25c0e2d..406b41b387d5 100644
.flags = MWAIT2flg(0x20) | CPUIDLE_FLAG_TLB_FLUSHED,
.exit_latency = 133,
- .target_residency = 400,
+ .target_residency = 1100,
+ .target_residency = 1200,
.enter = &intel_idle,
.enter_s2idle = intel_idle_s2idle, },
{
Expand All @@ -112,7 +112,7 @@ index 0b66e25c0e2d..406b41b387d5 100644
.flags = MWAIT2flg(0x32) | CPUIDLE_FLAG_TLB_FLUSHED,
.exit_latency = 166,
- .target_residency = 500,
+ .target_residency = 1800,
+ .target_residency = 1900,
.enter = &intel_idle,
.enter_s2idle = intel_idle_s2idle, },
{
Expand All @@ -121,7 +121,7 @@ index 0b66e25c0e2d..406b41b387d5 100644
.flags = MWAIT2flg(0x40) | CPUIDLE_FLAG_TLB_FLUSHED,
.exit_latency = 300,
- .target_residency = 900,
+ .target_residency = 3200,
+ .target_residency = 3300,
.enter = &intel_idle,
.enter_s2idle = intel_idle_s2idle, },
{
Expand All @@ -130,7 +130,7 @@ index 0b66e25c0e2d..406b41b387d5 100644
.flags = MWAIT2flg(0x50) | CPUIDLE_FLAG_TLB_FLUSHED,
.exit_latency = 600,
- .target_residency = 1800,
+ .target_residency = 5400,
+ .target_residency = 5500,
.enter = &intel_idle,
.enter_s2idle = intel_idle_s2idle, },
{
Expand All @@ -139,7 +139,7 @@ index 0b66e25c0e2d..406b41b387d5 100644
.flags = MWAIT2flg(0x60) | CPUIDLE_FLAG_TLB_FLUSHED,
.exit_latency = 2600,
- .target_residency = 7700,
+ .target_residency = 8900,
+ .target_residency = 9000,
.enter = &intel_idle,
.enter_s2idle = intel_idle_s2idle, },
{
Expand Down
2 changes: 1 addition & 1 deletion patch/cl/slack.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
INIT_CPU_TIMERS(init_task)
.pi_lock = __RAW_SPIN_LOCK_UNLOCKED(init_task.pi_lock),
- .timer_slack_ns = 50000, /* 50 usec default slack */
+ .timer_slack_ns = 500, /* 500 nsec default slack */
+ .timer_slack_ns = 1000, /* 1 usec default slack */
.thread_pid = &init_struct_pid,
.thread_group = LIST_HEAD_INIT(init_task.thread_group),
.thread_node = LIST_HEAD_INIT(init_signals.thread_head),
4 changes: 2 additions & 2 deletions patch/cl/tcptuning.patch
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#if HZ >= 100
-#define TCP_DELACK_MIN ((unsigned)(HZ/25)) /* minimal time to delay before sending an ACK */
-#define TCP_ATO_MIN ((unsigned)(HZ/25))
+#define TCP_DELACK_MIN ((unsigned)(HZ/50)) /* minimal time to delay before sending an ACK */
+#define TCP_ATO_MIN ((unsigned)(HZ/50))
+#define TCP_DELACK_MIN ((unsigned)(HZ/40)) /* minimal time to delay before sending an ACK */
+#define TCP_ATO_MIN ((unsigned)(HZ/40))
#else
#define TCP_DELACK_MIN 4U
#define TCP_ATO_MIN 4U
20 changes: 0 additions & 20 deletions patch/cp/7.patch

This file was deleted.

2 changes: 1 addition & 1 deletion patch/cp/testvbug1.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
unsigned int shallow_depth)
{
- WARN_ON_ONCE(shallow_depth < sbq->min_shallow_depth);
+ WARN_ONCE(shallow_depth < sbq->min_shallow_depth, "Shallow depth error! Current: %d Min: %d\n", shallow_depth, sbq->min_shallow_depth);
+ WARN_ONCE(shallow_depth < sbq->min_shallow_depth, "Shallow depth error: Current: %d Min: %d !\n", shallow_depth, sbq->min_shallow_depth);

return sbitmap_get_shallow(&sbq->sb, shallow_depth);
}

0 comments on commit 55bb979

Please sign in to comment.