From: "Hdei Nunoe" <nunoe@co-nss.co.jp>
To: <linux-mips@linux-mips.org>
Subject: PSCHED_JSCALE
Date: Tue, 22 Mar 2005 09:47:31 +0900 [thread overview]
Message-ID: <006501c52e78$bb081730$3ca06096@NUNOE> (raw)
Hi there,
Has anyone known about the background information about
the following change?
The PSCHED_JSCALE in the net/sched/sch_api.c is defined in the
include/net/pkt_sched.h. If I set HZ to 1000 - PSCHED_JSCALE
is 0 - what would happen?
#if HZ == 100
#define PSCHED_JSCALE 13
#elif HZ == 1024
#define PSCHED_JSCALE 10
#else
#define PSCHED_JSCALE 0
#endif
The code is updated in 2.4.27 as follows.
The PSCHED_JSCALE becomes 10 in this case.
What problems would it fix? Or what behaivior would change?
#if HZ < 96
#define PSCHED_JSCALE 14
#elif HZ >= 96 && HZ < 192
#define PSCHED_JSCALE 13
#elif HZ >= 192 && HZ < 384
#define PSCHED_JSCALE 12
#elif HZ >= 384 && HZ < 768
#define PSCHED_JSCALE 11
#elif HZ >= 768
#define PSCHED_JSCALE 10
#endif
---
Hdei Nunoe
WARNING: multiple messages have this Message-ID (diff)
From: "Hdei Nunoe" <nunoe@co-nss.co.jp>
To: linux-mips@linux-mips.org
Subject: PSCHED_JSCALE
Date: Tue, 22 Mar 2005 09:47:31 +0900 [thread overview]
Message-ID: <006501c52e78$bb081730$3ca06096@NUNOE> (raw)
Message-ID: <20050322004731.7IGmwJLSfRxWbni48fW8h3qZ_UXlC-9zPAm0LcxAm5w@z> (raw)
Hi there,
Has anyone known about the background information about
the following change?
The PSCHED_JSCALE in the net/sched/sch_api.c is defined in the
include/net/pkt_sched.h. If I set HZ to 1000 - PSCHED_JSCALE
is 0 - what would happen?
#if HZ == 100
#define PSCHED_JSCALE 13
#elif HZ == 1024
#define PSCHED_JSCALE 10
#else
#define PSCHED_JSCALE 0
#endif
The code is updated in 2.4.27 as follows.
The PSCHED_JSCALE becomes 10 in this case.
What problems would it fix? Or what behaivior would change?
#if HZ < 96
#define PSCHED_JSCALE 14
#elif HZ >= 96 && HZ < 192
#define PSCHED_JSCALE 13
#elif HZ >= 192 && HZ < 384
#define PSCHED_JSCALE 12
#elif HZ >= 384 && HZ < 768
#define PSCHED_JSCALE 11
#elif HZ >= 768
#define PSCHED_JSCALE 10
#endif
---
Hdei Nunoe
next reply other threads:[~2005-03-22 0:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-22 0:47 Hdei Nunoe [this message]
2005-03-22 0:47 ` PSCHED_JSCALE Hdei Nunoe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='006501c52e78$bb081730$3ca06096@NUNOE' \
--to=nunoe@co-nss.co.jp \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox