diff mbox

[1/1] linux-generic: config: increase ODP_CONFIG_SCHED_GRPS to 256

Message ID 1447934283-28558-1-git-send-email-carl.wallen@nokia.com
State Superseded
Headers show

Commit Message

Wallen, Carl (Nokia - FI/Espoo) Nov. 19, 2015, 11:58 a.m. UTC
Increase the ODP_CONFIG_SCHED_GRPS define from 16 to 256 to support a
larger number of scheduling groups by default.

Signed-off-by: Carl Wallen <carl.wallen@nokia.com>
---
 platform/linux-generic/include/odp/config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bill Fischofer Nov. 19, 2015, 1:44 p.m. UTC | #1
No problem with picking a "good" number, but curious as to what the use
case is for this proposed increase.

On Thu, Nov 19, 2015 at 5:58 AM, Carl Wallen <carl.wallen@nokia.com> wrote:

> Increase the ODP_CONFIG_SCHED_GRPS define from 16 to 256 to support a

> larger number of scheduling groups by default.

>

> Signed-off-by: Carl Wallen <carl.wallen@nokia.com>

> ---

>  platform/linux-generic/include/odp/config.h | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/platform/linux-generic/include/odp/config.h

> b/platform/linux-generic/include/odp/config.h

> index ee23df3..da8856f 100644

> --- a/platform/linux-generic/include/odp/config.h

> +++ b/platform/linux-generic/include/odp/config.h

> @@ -61,7 +61,7 @@ static inline int odp_config_sched_prios(void)

>  /**

>   * Number of scheduling groups

>   */

> -#define ODP_CONFIG_SCHED_GRPS 16

> +#define ODP_CONFIG_SCHED_GRPS 256

>  static inline int odp_config_sched_grps(void)

>  {

>         return ODP_CONFIG_SCHED_GRPS;

> --

> 2.1.4

>

> _______________________________________________

> lng-odp mailing list

> lng-odp@lists.linaro.org

> https://lists.linaro.org/mailman/listinfo/lng-odp

>
diff mbox

Patch

diff --git a/platform/linux-generic/include/odp/config.h b/platform/linux-generic/include/odp/config.h
index ee23df3..da8856f 100644
--- a/platform/linux-generic/include/odp/config.h
+++ b/platform/linux-generic/include/odp/config.h
@@ -61,7 +61,7 @@  static inline int odp_config_sched_prios(void)
 /**
  * Number of scheduling groups
  */
-#define ODP_CONFIG_SCHED_GRPS 16
+#define ODP_CONFIG_SCHED_GRPS 256
 static inline int odp_config_sched_grps(void)
 {
 	return ODP_CONFIG_SCHED_GRPS;