Skip to content

demo bench failed #156

Open
Open

Description

@Davidrjx

according to https://github.com/filebench/filebench/wiki, first demo run result not ok

Filebench Version 1.5-alpha3
0.000: Allocated 173MB of shared memory
0.001: Fileset has no directory width around line 4
0.002: Populating and pre-allocating filesets
0.002: testF populated: 500 files, avg. dir. width = 0, avg. dir. depth = -0.0, 0 leafdirs, 22.461MB total size
0.002: Removing testF tree (if exists)
0.030: Pre-allocating directories in testF tree
0.039: Pre-allocating files in testF tree
0.063: Waiting for pre-allocation to finish (in case of a parallel pre-allocation)
0.063: Population and pre-allocation of filesets completed
0.064: Starting 2 readerP instances
9.077: Waiting for pid 9062 thread readerT-1
10.078: Waiting for pid 9062 thread readerT-1
19.079: Waiting for pid 9062 thread readerT-3
20.079: Waiting for pid 9062 thread readerT-3
29.081: Waiting for pid 9062 thread readerT-2
30.081: Waiting for pid 9062 thread readerT-2
39.083: Waiting for pid 9061 thread readerT-1
40.083: Waiting for pid 9061 thread readerT-1
49.085: Waiting for pid 9061 thread readerT-3
50.085: Waiting for pid 9061 thread readerT-3
59.087: Waiting for pid 9061 thread readerT-2
60.087: Waiting for pid 9061 thread readerT-2
61.087: Running...
61.087: Unexpected Process termination Code 2, Errno 0 around line 12
62.088: Run took 1 seconds...
62.088: NO VALID RESULTS! Filebench run terminated prematurely around line 12
62.088: Shutting down processes

Activity

  1. CafeXx commented on Jun 7, 2022

    @CafeXx

    run
    echo 0 > /proc/sys/kernel/randomize_va_space
    before your test.

  2. Yorkking commented on May 2, 2023

    @Yorkking

    run echo 0 > /proc/sys/kernel/randomize_va_space before your test.

    Thanks very much😘! This really works! But May I ask why this works? Turn off address randomization solve it? 😵

  3. penglb3 commented on Nov 6, 2023

    @penglb3

    Damn, I ran into this issue too on Ubuntu 22.04, and the fix above works. This issue should gain more attention!

    Filebench Version 1.5-alpha3
    0.000: Allocated 177MB of shared memory
    0.001: Varmail Version 3.0 personality successfully loaded
    0.001: Populating and pre-allocating filesets
    0.002: bigfileset populated: 1000 files, avg. dir. width = 1000000, avg. dir. depth = 0.5, 0 leafdirs, 14.959MB total size
    0.002: Removing bigfileset tree (if exists)
    0.031: Pre-allocating directories in bigfileset tree
    0.031: Pre-allocating files in bigfileset tree
    0.064: Waiting for pre-allocation to finish (in case of a parallel pre-allocation)
    0.064: Population and pre-allocation of filesets completed
    0.064: Starting 1 filereader instances
    9.069: Waiting for pid 535744 thread filereaderthread-1
    10.135: Waiting for pid 535744 thread filereaderthread-1
    19.136: Waiting for pid 535744 thread filereaderthread-4
    20.137: Waiting for pid 535744 thread filereaderthread-4
    29.138: Waiting for pid 535744 thread filereaderthread-3
    30.138: Waiting for pid 535744 thread filereaderthread-3
    39.140: Waiting for pid 535744 thread filereaderthread-2
    40.140: Waiting for pid 535744 thread filereaderthread-2
    41.140: Running...
    41.140: Unexpected Process termination Code 3, Errno 0 around line 58
    42.141: Run took 1 seconds...
    
  4. deva-narayana-babu commented on Mar 2, 2024

    @deva-narayana-babu

    I also got the same error as @penglb3

    ➜  filebench git:(master) ✗ sudo filebench -f webserver.f
    Filebench Version 1.5-alpha3
    0.000: Allocated 177MB of shared memory
    0.002: Web-server Version 3.1 personality successfully loaded
    0.002: Populating and pre-allocating filesets
    0.002: logfiles populated: 1 files, avg. dir. width = 20, avg. dir. depth = 0.0, 0 leafdirs, 0.002MB total size
    0.002: Removing logfiles tree (if exists)
    0.003: Pre-allocating directories in logfiles tree
    0.003: Pre-allocating files in logfiles tree
    0.004: bigfileset populated: 1000 files, avg. dir. width = 20, avg. dir. depth = 2.3, 0 leafdirs, 14.760MB total size
    0.004: Removing bigfileset tree (if exists)
    0.022: Pre-allocating directories in bigfileset tree
    0.023: Pre-allocating files in bigfileset tree
    0.043: Waiting for pre-allocation to finish (in case of a parallel pre-allocation)
    0.043: Population and pre-allocation of filesets completed
    0.043: Starting 1 filereader instances
    9.050: Waiting for pid 147052 thread filereaderthread-1
    10.051: Waiting for pid 147052 thread filereaderthread-1
    19.054: Waiting for pid 147052 thread filereaderthread-100
    20.055: Waiting for pid 147052 thread filereaderthread-100
    29.058: Waiting for pid 147052 thread filereaderthread-99
    30.058: Waiting for pid 147052 thread filereaderthread-99
    39.062: Waiting for pid 147052 thread filereaderthread-98
    40.062: Waiting for pid 147052 thread filereaderthread-98
    49.066: Waiting for pid 147052 thread filereaderthread-97
    50.066: Waiting for pid 147052 thread filereaderthread-97
    59.070: Waiting for pid 147052 thread filereaderthread-96
    60.070: Waiting for pid 147052 thread filereaderthread-96
    69.073: Waiting for pid 147052 thread filereaderthread-95
    70.073: Waiting for pid 147052 thread filereaderthread-95
    79.074: Waiting for pid 147052 thread filereaderthread-94
    80.075: Waiting for pid 147052 thread filereaderthread-94
    89.078: Waiting for pid 147052 thread filereaderthread-93
    90.078: Waiting for pid 147052 thread filereaderthread-93
    99.080: Waiting for pid 147052 thread filereaderthread-92
    100.081: Waiting for pid 147052 thread filereaderthread-92
    109.082: Waiting for pid 147052 thread filereaderthread-91
    110.082: Waiting for pid 147052 thread filereaderthread-91
    119.085: Waiting for pid 147052 thread filereaderthread-90
    120.085: Waiting for pid 147052 thread filereaderthread-90
    129.086: Waiting for pid 147052 thread filereaderthread-89
    130.086: Waiting for pid 147052 thread filereaderthread-89
    139.090: Waiting for pid 147052 thread filereaderthread-88
    140.090: Waiting for pid 147052 thread filereaderthread-88
    149.092: Waiting for pid 147052 thread filereaderthread-87
    150.092: Waiting for pid 147052 thread filereaderthread-87
    159.096: Waiting for pid 147052 thread filereaderthread-86
    160.097: Waiting for pid 147052 thread filereaderthread-86
    169.101: Waiting for pid 147052 thread filereaderthread-85
    170.101: Waiting for pid 147052 thread filereaderthread-85
    179.105: Waiting for pid 147052 thread filereaderthread-84
    180.106: Waiting for pid 147052 thread filereaderthread-84
    189.109: Waiting for pid 147052 thread filereaderthread-83
    190.110: Waiting for pid 147052 thread filereaderthread-83
    199.114: Waiting for pid 147052 thread filereaderthread-82
    200.115: Waiting for pid 147052 thread filereaderthread-82
    209.118: Waiting for pid 147052 thread filereaderthread-81
    210.119: Waiting for pid 147052 thread filereaderthread-81
    219.122: Waiting for pid 147052 thread filereaderthread-80
    220.122: Waiting for pid 147052 thread filereaderthread-80
    229.126: Waiting for pid 147052 thread filereaderthread-79
    230.126: Waiting for pid 147052 thread filereaderthread-79
    239.129: Waiting for pid 147052 thread filereaderthread-78
    240.129: Waiting for pid 147052 thread filereaderthread-78
    249.132: Waiting for pid 147052 thread filereaderthread-77
    250.132: Waiting for pid 147052 thread filereaderthread-77
    259.136: Waiting for pid 147052 thread filereaderthread-76
    260.136: Waiting for pid 147052 thread filereaderthread-76
    269.140: Waiting for pid 147052 thread filereaderthread-75
    270.141: Waiting for pid 147052 thread filereaderthread-75
    279.144: Waiting for pid 147052 thread filereaderthread-74
    280.145: Waiting for pid 147052 thread filereaderthread-74
    289.148: Waiting for pid 147052 thread filereaderthread-73
    290.149: Waiting for pid 147052 thread filereaderthread-73
    299.153: Waiting for pid 147052 thread filereaderthread-72
    300.153: Waiting for pid 147052 thread filereaderthread-72
    309.157: Waiting for pid 147052 thread filereaderthread-71
    310.158: Waiting for pid 147052 thread filereaderthread-71
    319.161: Waiting for pid 147052 thread filereaderthread-70
    320.162: Waiting for pid 147052 thread filereaderthread-70
    329.166: Waiting for pid 147052 thread filereaderthread-69
    330.167: Waiting for pid 147052 thread filereaderthread-69
    339.170: Waiting for pid 147052 thread filereaderthread-68
    340.170: Waiting for pid 147052 thread filereaderthread-68
    349.172: Waiting for pid 147052 thread filereaderthread-67
    350.172: Waiting for pid 147052 thread filereaderthread-67
    359.173: Waiting for pid 147052 thread filereaderthread-66
    360.174: Waiting for pid 147052 thread filereaderthread-66
    369.177: Waiting for pid 147052 thread filereaderthread-65
    370.177: Waiting for pid 147052 thread filereaderthread-65
    379.182: Waiting for pid 147052 thread filereaderthread-64
    380.183: Waiting for pid 147052 thread filereaderthread-64
    389.188: Waiting for pid 147052 thread filereaderthread-63
    390.188: Waiting for pid 147052 thread filereaderthread-63
    399.192: Waiting for pid 147052 thread filereaderthread-62
    400.193: Waiting for pid 147052 thread filereaderthread-62
    409.197: Waiting for pid 147052 thread filereaderthread-61
    410.197: Waiting for pid 147052 thread filereaderthread-61
    419.203: Waiting for pid 147052 thread filereaderthread-60
    420.203: Waiting for pid 147052 thread filereaderthread-60
    429.207: Waiting for pid 147052 thread filereaderthread-59
    430.208: Waiting for pid 147052 thread filereaderthread-59
    439.213: Waiting for pid 147052 thread filereaderthread-58
    440.213: Waiting for pid 147052 thread filereaderthread-58
    449.218: Waiting for pid 147052 thread filereaderthread-57
    450.218: Waiting for pid 147052 thread filereaderthread-57
    459.223: Waiting for pid 147052 thread filereaderthread-56
    460.224: Waiting for pid 147052 thread filereaderthread-56
    469.228: Waiting for pid 147052 thread filereaderthread-55
    470.228: Waiting for pid 147052 thread filereaderthread-55
    479.232: Waiting for pid 147052 thread filereaderthread-54
    480.232: Waiting for pid 147052 thread filereaderthread-54
    489.238: Waiting for pid 147052 thread filereaderthread-53
    490.238: Waiting for pid 147052 thread filereaderthread-53
    499.242: Waiting for pid 147052 thread filereaderthread-52
    500.243: Waiting for pid 147052 thread filereaderthread-52
    509.247: Waiting for pid 147052 thread filereaderthread-51
    510.248: Waiting for pid 147052 thread filereaderthread-51
    519.253: Waiting for pid 147052 thread filereaderthread-50
    520.253: Waiting for pid 147052 thread filereaderthread-50
    529.258: Waiting for pid 147052 thread filereaderthread-49
    530.259: Waiting for pid 147052 thread filereaderthread-49
    539.265: Waiting for pid 147052 thread filereaderthread-48
    540.266: Waiting for pid 147052 thread filereaderthread-48
    549.270: Waiting for pid 147052 thread filereaderthread-47
    550.271: Waiting for pid 147052 thread filereaderthread-47
    559.276: Waiting for pid 147052 thread filereaderthread-46
    560.277: Waiting for pid 147052 thread filereaderthread-46
    569.282: Waiting for pid 147052 thread filereaderthread-45
    570.283: Waiting for pid 147052 thread filereaderthread-45
    579.289: Waiting for pid 147052 thread filereaderthread-44
    580.289: Waiting for pid 147052 thread filereaderthread-44
    589.293: Waiting for pid 147052 thread filereaderthread-43
    590.294: Waiting for pid 147052 thread filereaderthread-43
    599.298: Waiting for pid 147052 thread filereaderthread-42
    600.298: Waiting for pid 147052 thread filereaderthread-42
    609.302: Waiting for pid 147052 thread filereaderthread-41
    610.302: Waiting for pid 147052 thread filereaderthread-41
    619.307: Waiting for pid 147052 thread filereaderthread-40
    620.307: Waiting for pid 147052 thread filereaderthread-40
    629.312: Waiting for pid 147052 thread filereaderthread-39
    630.312: Waiting for pid 147052 thread filereaderthread-39
    639.317: Waiting for pid 147052 thread filereaderthread-38
    640.318: Waiting for pid 147052 thread filereaderthread-38
    649.323: Waiting for pid 147052 thread filereaderthread-37
    650.323: Waiting for pid 147052 thread filereaderthread-37
    659.326: Waiting for pid 147052 thread filereaderthread-36
    660.326: Waiting for pid 147052 thread filereaderthread-36
    669.330: Waiting for pid 147052 thread filereaderthread-35
    670.330: Waiting for pid 147052 thread filereaderthread-35
    679.333: Waiting for pid 147052 thread filereaderthread-34
    680.333: Waiting for pid 147052 thread filereaderthread-34
    689.336: Waiting for pid 147052 thread filereaderthread-33
    690.337: Waiting for pid 147052 thread filereaderthread-33
    699.340: Waiting for pid 147052 thread filereaderthread-32
    700.340: Waiting for pid 147052 thread filereaderthread-32
    709.343: Waiting for pid 147052 thread filereaderthread-31
    710.343: Waiting for pid 147052 thread filereaderthread-31
    719.348: Waiting for pid 147052 thread filereaderthread-30
    720.348: Waiting for pid 147052 thread filereaderthread-30
    729.354: Waiting for pid 147052 thread filereaderthread-29
    730.354: Waiting for pid 147052 thread filereaderthread-29
    739.359: Waiting for pid 147052 thread filereaderthread-28
    740.360: Waiting for pid 147052 thread filereaderthread-28
    749.364: Waiting for pid 147052 thread filereaderthread-27
    750.365: Waiting for pid 147052 thread filereaderthread-27
    759.370: Waiting for pid 147052 thread filereaderthread-26
    760.370: Waiting for pid 147052 thread filereaderthread-26
    769.374: Waiting for pid 147052 thread filereaderthread-25
    770.375: Waiting for pid 147052 thread filereaderthread-25
    779.379: Waiting for pid 147052 thread filereaderthread-24
    780.380: Waiting for pid 147052 thread filereaderthread-24
    789.385: Waiting for pid 147052 thread filereaderthread-23
    790.386: Waiting for pid 147052 thread filereaderthread-23
    799.390: Waiting for pid 147052 thread filereaderthread-22
    800.391: Waiting for pid 147052 thread filereaderthread-22
    809.394: Waiting for pid 147052 thread filereaderthread-21
    810.394: Waiting for pid 147052 thread filereaderthread-21
    819.398: Waiting for pid 147052 thread filereaderthread-20
    820.399: Waiting for pid 147052 thread filereaderthread-20
    829.404: Waiting for pid 147052 thread filereaderthread-19
    830.405: Waiting for pid 147052 thread filereaderthread-19
    839.409: Waiting for pid 147052 thread filereaderthread-18
    840.410: Waiting for pid 147052 thread filereaderthread-18
    849.415: Waiting for pid 147052 thread filereaderthread-17
    850.416: Waiting for pid 147052 thread filereaderthread-17
    859.420: Waiting for pid 147052 thread filereaderthread-16
    860.420: Waiting for pid 147052 thread filereaderthread-16
    869.425: Waiting for pid 147052 thread filereaderthread-15
    870.426: Waiting for pid 147052 thread filereaderthread-15
    879.430: Waiting for pid 147052 thread filereaderthread-14
    880.431: Waiting for pid 147052 thread filereaderthread-14
    889.434: Waiting for pid 147052 thread filereaderthread-13
    890.434: Waiting for pid 147052 thread filereaderthread-13
    899.438: Waiting for pid 147052 thread filereaderthread-12
    900.438: Waiting for pid 147052 thread filereaderthread-12
    909.442: Waiting for pid 147052 thread filereaderthread-11
    910.442: Waiting for pid 147052 thread filereaderthread-11
    919.446: Waiting for pid 147052 thread filereaderthread-10
    920.446: Waiting for pid 147052 thread filereaderthread-10
    929.451: Waiting for pid 147052 thread filereaderthread-9
    930.451: Waiting for pid 147052 thread filereaderthread-9
    939.456: Waiting for pid 147052 thread filereaderthread-8
    940.457: Waiting for pid 147052 thread filereaderthread-8
    949.462: Waiting for pid 147052 thread filereaderthread-7
    950.463: Waiting for pid 147052 thread filereaderthread-7
    959.468: Waiting for pid 147052 thread filereaderthread-6
    960.468: Waiting for pid 147052 thread filereaderthread-6
    969.474: Waiting for pid 147052 thread filereaderthread-5
    970.475: Waiting for pid 147052 thread filereaderthread-5
    979.480: Waiting for pid 147052 thread filereaderthread-4
    980.480: Waiting for pid 147052 thread filereaderthread-4
    989.486: Waiting for pid 147052 thread filereaderthread-3
    990.486: Waiting for pid 147052 thread filereaderthread-3
    999.491: Waiting for pid 147052 thread filereaderthread-2
    1000.492: Waiting for pid 147052 thread filereaderthread-2
    1001.492: Running...
    1001.492: Unexpected Process termination Code 3, Errno 0 around line 77
    1002.493: Run took 1 seconds...
    
  5. deva-narayana-babu commented on Mar 2, 2024

    @deva-narayana-babu

    echo 0 > /proc/sys/kernel/randomize_va_space

    solution works!

  6. penglb3 commented on Mar 8, 2024

    @penglb3

    This is a duplicate of #112 , which was opened and answered in 2017 but unfortunately never fixed. Considering that this repo was last updated in 2020, i doubt if there is still anyone maintaining...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions