On Fri, 2009-03-06 at 17:13 +0530, Subrata Modak wrote:
> Hi Poornima,
> 
> On Fri, 2009-03-06 at 12:53 +0530, poornima nayak wrote:
> > Signed-off-by: poornima nayak <[email protected]>
> > 
> 
> Thanks for the below test results.
> My results pre/post patch follows:
> 
> > <<<test_start>>>
> > tag=POWER_MANAGEMENT stime=1236212613
> > cmdline="runpwtests.sh"...
> ....
> > <<<test_end>>>
> 
> ================
> Before Patching:
> ================
> <<<test_start>>>
> tag=POWER_MANAGEMENT stime=1236338686
> cmdline="runpwtests.sh"
> contacts=""
> analysis=exit
> initiation_status="ok"
> <<<test_output>>>
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> ---Valid test cases---
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS: echo 0 > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS: echo 1 > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> ---Invalid test cases---
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo a
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo 2
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo abcefg
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo x1999
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo xffff
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo -1
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo -00000
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo
> 200000000000000000000000000000000000000000000000000000000000000000000000000000
>  > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo ox324
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo -0xfffffffffffffffffffff
> > /sys/devices/system/cpu/sched_mc_power_savings
>   File
> "/root/subrata/ltp/ltp-full-20090228/testcases/bin/cpu_consolidation.py", 
> line 27
>     print "INFO: sched mc power saving set to %s" %options.mc_level
>                                                                   ^
I will send a patch for this issue. I am not sure how that patch got
generated with indentation issue. 
> IndentationError: unindent does not match any outer indentation level
> Power Management    1  FAIL  :  cpu consolidation test failed
> Power Management    1  CONF  :  Required kernel configuration for
> CPU_FREQ NOT set
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/check_cpuidle_sysfs_files.sh:
>  PASS: Checking cpu idle sysfs files
> Power Management    1  FAIL  :  CPUIDLE sysfs tests failed
> incrementing stop
> <<<execution_status>>>
> duration=0 termination_type=exited termination_id=0 corefile=no
> cutime=3 cstime=3
> <<<test_end>>>
> ================
> 
> ================
> After Patching
> ================
> <<<test_start>>>
> tag=POWER_MANAGEMENT stime=1236339335
> cmdline="runpwtests.sh"
> contacts=""
> analysis=exit
> initiation_status="ok"
> <<<test_output>>>
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> ---Valid test cases---
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS: echo 0 > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS: echo 1 > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> ---Invalid test cases---
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo a
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo 2
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo abcefg
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo x1999
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo xffff
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo -1
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo -00000
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo
> 200000000000000000000000000000000000000000000000000000000000000000000000000000
>  > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo ox324
> > /sys/devices/system/cpu/sched_mc_power_savings
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/test_sched_mc.sh:
> Testcase PASS - Unable to execute: echo -0xfffffffffffffffffffff
> > /sys/devices/system/cpu/sched_mc_power_savings
> sh: ./ebizzy: No such file or directory
> 
> *** Can you please remove this above ./ebizzy error ??
> 
> INFO: sched mc power saving set to 1
> INFO: Created table mapping cpu to package
> INFO: ebizzy workload triggerd
> Power Management    1  FAIL  :  cpu consolidation test failed
> INFO: cpu group does not belong to single package
> Power Management    1  FAIL  :  sched domain topology validation test
> failed
> Power Management    1  CONF  :  Required kernel configuration for
> CPU_FREQ NOT set
> /root/subrata/ltp/ltp-full-20090228/testcases/bin/check_cpuidle_sysfs_files.sh:
>  PASS: Checking cpu idle sysfs files
> Power Management    1  FAIL  :  CPUIDLE sysfs tests failed
> uincrementing stop
> <<<execution_status>>>
> duration=1 termination_type=exited termination_id=0 corefile=no
> cutime=8 cstime=4
> <<<test_end>>>
> ================
> 
> Are the Above Failures for:
> 1) CPU Consolidation,
Could be some issue in the testcase. I will run latest release and then
update you.
> 2) Sched Domain,
In every function referred there is exception statement to display. I
will login to your system and verify where actually test failed. Some
progress information i.e INFO could help to understand the progress of
test execution.
> 3) CPU Frequency, &
There would not be P-state support by the processor in the system in
which you executed this testcase. So this is the desired behaviour. I
feel it would be better if I modify the message in TCONF
> 4) CPUIDLE
> 
Required config option is set and the test has actaully passed. I looked
into the testcase, small fix in the testcase would help to fix this
issue.
> fails due to the CONFIGURATION not set in the kernel ??
No these failures are not due to CONFIGURATION set in Kernel.
> See my running kernel configuration below:
> 
> # grep -i CPU_ /boot/config-2.6.27.15-2-default
> CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
> CONFIG_ARCH_HAS_CPU_RELAX=y
> CONFIG_HAVE_SETUP_PER_CPU_AREA=y
> CONFIG_HAVE_CPUMASK_OF_CPU_MAP=y
> CONFIG_X86_MINIMUM_CPU_FAMILY=64
> CONFIG_CPU_FREQ=y
> CONFIG_CPU_FREQ_TABLE=y
> CONFIG_CPU_FREQ_STAT=m
> CONFIG_CPU_FREQ_STAT_DETAILS=y
> CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
> CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
> CONFIG_CPU_FREQ_GOV_POWERSAVE=m
> CONFIG_CPU_FREQ_GOV_USERSPACE=m
> CONFIG_CPU_FREQ_GOV_ONDEMAND=y
> CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
> CONFIG_CPU_IDLE=y
> CONFIG_CPU_IDLE_GOV_LADDER=y
> CONFIG_CPU_IDLE_GOV_MENU=y
> 
> Is there any other Config Options apart from mentioned below, needs to
> be set ??
> 
> CONFIG_CPU_FREQ=y
> CONFIG_CPU_FREQ_TABLE=y
> CONFIG_CPU_FREQ_DEBUG=y
> CONFIG_CPU_FREQ_STAT=y
> CONFIG_CPU_FREQ_STAT_DETAILS=y
> CONFIG_CPU_IDLE=y
> CONFIG_CPU_IDLE_GOV_LADDER=y
> CONFIG_CPU_IDLE_GOV_MENU=y
> CONFIG_SCHED_MC=y
> CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
> CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE=y
> CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
> CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
> CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=y
> CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
> CONFIG_CPU_FREQ_GOV_POWERSAVE=y
> CONFIG_CPU_FREQ_GOV_USERSPACE=y
> CONFIG_CPU_FREQ_GOV_ONDEMAND=y
> CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
> 
> Regards--
> Subrata
> 
> 


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to