Linux MIPS Architecture development
 help / color / mirror / Atom feed
* PSCHED_JSCALE
@ 2005-03-22  0:47 Hdei Nunoe
  2005-03-22  0:47 ` PSCHED_JSCALE Hdei Nunoe
  0 siblings, 1 reply; 2+ messages in thread
From: Hdei Nunoe @ 2005-03-22  0:47 UTC (permalink / raw)
  To: linux-mips

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-22  0:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-22  0:47 PSCHED_JSCALE Hdei Nunoe
2005-03-22  0:47 ` PSCHED_JSCALE Hdei Nunoe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox