Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-958

tests: debug_mb set incorrectly for smp or vm

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • VMwareFusion on MacBook Pro
      or node with 8 processors, 4 cpu cores each
    • 3
    • 4680

    Description

      Actually debug_mb in lustre code depends from num_possible_cpus(). That could be different number than number of CPU in the system.

      Test suit reads CPU in the system.

      Fixed in MRP-219 of Xyratex by using /sys/devices/system/cpu/possible.

      Attachments

        Issue Links

          Activity

            [LU-958] tests: debug_mb set incorrectly for smp or vm
            emoly.liu Emoly Liu added a comment - Patch for b1_8: http://review.whamcloud.com/4962

            Xyratex: MRP-219

            nrutman Nathan Rutman added a comment - Xyratex: MRP-219

            Integrated in lustre-dev » x86_64,client,el6,inkernel #340
            LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 2ccb34d882b01305794e7780b6dd691179ddae7e)
            LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 28817cbd133c626042f9b142600c03187ba4a7ce)

            Result = SUCCESS
            Oleg Drokin : 2ccb34d882b01305794e7780b6dd691179ddae7e
            Files :

            • lustre/tests/cfg/local.sh
            • lustre/tests/test-framework.sh

            Oleg Drokin : 28817cbd133c626042f9b142600c03187ba4a7ce
            Files :

            • lustre/tests/test-framework.sh
            • lustre/tests/cfg/local.sh
            hudson Build Master (Inactive) added a comment - Integrated in lustre-dev » x86_64,client,el6,inkernel #340 LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 2ccb34d882b01305794e7780b6dd691179ddae7e) LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 28817cbd133c626042f9b142600c03187ba4a7ce) Result = SUCCESS Oleg Drokin : 2ccb34d882b01305794e7780b6dd691179ddae7e Files : lustre/tests/cfg/local.sh lustre/tests/test-framework.sh Oleg Drokin : 28817cbd133c626042f9b142600c03187ba4a7ce Files : lustre/tests/test-framework.sh lustre/tests/cfg/local.sh

            Integrated in lustre-dev » x86_64,server,el5,inkernel #340
            LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 2ccb34d882b01305794e7780b6dd691179ddae7e)
            LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 28817cbd133c626042f9b142600c03187ba4a7ce)

            Result = SUCCESS
            Oleg Drokin : 2ccb34d882b01305794e7780b6dd691179ddae7e
            Files :

            • lustre/tests/test-framework.sh
            • lustre/tests/cfg/local.sh

            Oleg Drokin : 28817cbd133c626042f9b142600c03187ba4a7ce
            Files :

            • lustre/tests/test-framework.sh
            • lustre/tests/cfg/local.sh
            hudson Build Master (Inactive) added a comment - Integrated in lustre-dev » x86_64,server,el5,inkernel #340 LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 2ccb34d882b01305794e7780b6dd691179ddae7e) LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 28817cbd133c626042f9b142600c03187ba4a7ce) Result = SUCCESS Oleg Drokin : 2ccb34d882b01305794e7780b6dd691179ddae7e Files : lustre/tests/test-framework.sh lustre/tests/cfg/local.sh Oleg Drokin : 28817cbd133c626042f9b142600c03187ba4a7ce Files : lustre/tests/test-framework.sh lustre/tests/cfg/local.sh

            Integrated in lustre-dev » i686,client,el5,inkernel #340
            LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 2ccb34d882b01305794e7780b6dd691179ddae7e)
            LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 28817cbd133c626042f9b142600c03187ba4a7ce)

            Result = SUCCESS
            Oleg Drokin : 2ccb34d882b01305794e7780b6dd691179ddae7e
            Files :

            • lustre/tests/cfg/local.sh
            • lustre/tests/test-framework.sh

            Oleg Drokin : 28817cbd133c626042f9b142600c03187ba4a7ce
            Files :

            • lustre/tests/cfg/local.sh
            • lustre/tests/test-framework.sh
            hudson Build Master (Inactive) added a comment - Integrated in lustre-dev » i686,client,el5,inkernel #340 LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 2ccb34d882b01305794e7780b6dd691179ddae7e) LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 28817cbd133c626042f9b142600c03187ba4a7ce) Result = SUCCESS Oleg Drokin : 2ccb34d882b01305794e7780b6dd691179ddae7e Files : lustre/tests/cfg/local.sh lustre/tests/test-framework.sh Oleg Drokin : 28817cbd133c626042f9b142600c03187ba4a7ce Files : lustre/tests/cfg/local.sh lustre/tests/test-framework.sh

            Integrated in lustre-dev » x86_64,server,el6,inkernel #340
            LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 2ccb34d882b01305794e7780b6dd691179ddae7e)
            LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 28817cbd133c626042f9b142600c03187ba4a7ce)

            Result = SUCCESS
            Oleg Drokin : 2ccb34d882b01305794e7780b6dd691179ddae7e
            Files :

            • lustre/tests/cfg/local.sh
            • lustre/tests/test-framework.sh

            Oleg Drokin : 28817cbd133c626042f9b142600c03187ba4a7ce
            Files :

            • lustre/tests/test-framework.sh
            • lustre/tests/cfg/local.sh
            hudson Build Master (Inactive) added a comment - Integrated in lustre-dev » x86_64,server,el6,inkernel #340 LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 2ccb34d882b01305794e7780b6dd691179ddae7e) LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 28817cbd133c626042f9b142600c03187ba4a7ce) Result = SUCCESS Oleg Drokin : 2ccb34d882b01305794e7780b6dd691179ddae7e Files : lustre/tests/cfg/local.sh lustre/tests/test-framework.sh Oleg Drokin : 28817cbd133c626042f9b142600c03187ba4a7ce Files : lustre/tests/test-framework.sh lustre/tests/cfg/local.sh

            Integrated in lustre-dev » i686,server,el5,inkernel #340
            LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 2ccb34d882b01305794e7780b6dd691179ddae7e)
            LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 28817cbd133c626042f9b142600c03187ba4a7ce)

            Result = SUCCESS
            Oleg Drokin : 2ccb34d882b01305794e7780b6dd691179ddae7e
            Files :

            • lustre/tests/cfg/local.sh
            • lustre/tests/test-framework.sh

            Oleg Drokin : 28817cbd133c626042f9b142600c03187ba4a7ce
            Files :

            • lustre/tests/test-framework.sh
            • lustre/tests/cfg/local.sh
            hudson Build Master (Inactive) added a comment - Integrated in lustre-dev » i686,server,el5,inkernel #340 LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 2ccb34d882b01305794e7780b6dd691179ddae7e) LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 28817cbd133c626042f9b142600c03187ba4a7ce) Result = SUCCESS Oleg Drokin : 2ccb34d882b01305794e7780b6dd691179ddae7e Files : lustre/tests/cfg/local.sh lustre/tests/test-framework.sh Oleg Drokin : 28817cbd133c626042f9b142600c03187ba4a7ce Files : lustre/tests/test-framework.sh lustre/tests/cfg/local.sh

            Integrated in lustre-dev » i686,client,el6,inkernel #340
            LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 2ccb34d882b01305794e7780b6dd691179ddae7e)
            LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 28817cbd133c626042f9b142600c03187ba4a7ce)

            Result = SUCCESS
            Oleg Drokin : 2ccb34d882b01305794e7780b6dd691179ddae7e
            Files :

            • lustre/tests/cfg/local.sh
            • lustre/tests/test-framework.sh

            Oleg Drokin : 28817cbd133c626042f9b142600c03187ba4a7ce
            Files :

            • lustre/tests/cfg/local.sh
            • lustre/tests/test-framework.sh
            hudson Build Master (Inactive) added a comment - Integrated in lustre-dev » i686,client,el6,inkernel #340 LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 2ccb34d882b01305794e7780b6dd691179ddae7e) LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 28817cbd133c626042f9b142600c03187ba4a7ce) Result = SUCCESS Oleg Drokin : 2ccb34d882b01305794e7780b6dd691179ddae7e Files : lustre/tests/cfg/local.sh lustre/tests/test-framework.sh Oleg Drokin : 28817cbd133c626042f9b142600c03187ba4a7ce Files : lustre/tests/cfg/local.sh lustre/tests/test-framework.sh

            Integrated in lustre-dev » x86_64,client,el5,inkernel #340
            LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 2ccb34d882b01305794e7780b6dd691179ddae7e)
            LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 28817cbd133c626042f9b142600c03187ba4a7ce)

            Result = SUCCESS
            Oleg Drokin : 2ccb34d882b01305794e7780b6dd691179ddae7e
            Files :

            • lustre/tests/test-framework.sh
            • lustre/tests/cfg/local.sh

            Oleg Drokin : 28817cbd133c626042f9b142600c03187ba4a7ce
            Files :

            • lustre/tests/cfg/local.sh
            • lustre/tests/test-framework.sh
            hudson Build Master (Inactive) added a comment - Integrated in lustre-dev » x86_64,client,el5,inkernel #340 LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 2ccb34d882b01305794e7780b6dd691179ddae7e) LU-958 tests: debug_mb set incorrectly for smp or vm (Revision 28817cbd133c626042f9b142600c03187ba4a7ce) Result = SUCCESS Oleg Drokin : 2ccb34d882b01305794e7780b6dd691179ddae7e Files : lustre/tests/test-framework.sh lustre/tests/cfg/local.sh Oleg Drokin : 28817cbd133c626042f9b142600c03187ba4a7ce Files : lustre/tests/cfg/local.sh lustre/tests/test-framework.sh

            While this patch has landed and fixes the immediate problem, I think the root cause is that the debug_mb tunable is not easily usable. A better fix (to be done under LU-1249) is to make debug_mb more accepting of values and limit the supplied value to min/max instead of returning an error.

            adilger Andreas Dilger added a comment - While this patch has landed and fixes the immediate problem, I think the root cause is that the debug_mb tunable is not easily usable. A better fix (to be done under LU-1249 ) is to make debug_mb more accepting of values and limit the supplied value to min/max instead of returning an error.

            People

              wc-triage WC Triage
              denis_kondratenko Denis Kondratenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: