Giter Club home page Giter Club logo

Comments (10)

Algodev-github avatar Algodev-github commented on August 21, 2024

from s.

teohhanhui avatar teohhanhui commented on August 21, 2024

Here is the output if I reset everything:

$ run_multiple_benchmarks/test_responsiveness.sh
[sudo] password for teohhanhui: 
No user config found in /home/teohhanhui, copying default config
Not enough free space for test files in /home/teohhanhui/projects/Algodev-github/S/run_multiple_benchmarks/../workfiles: I need at least 500MB

Here's some additional information I've just figured out:

S/process_config.sh

Lines 263 to 265 in 34f9132

if [[ "$PART" == "" ]]; then
PART=$(find_partition_for_dir $BASE_DIR)
fi
gives /dev/mapper/luks-d57f1a76-74b2-4846-a9ee-7df99b00856a, which is actually correct. It seems to be the ext4 partition on top of LUKS?

However,

S/process_config.sh

Lines 267 to 269 in 34f9132

if [[ "$(df | egrep $PART)" == "" ]]; then # it must be /dev/root
PART=/dev/root
fi
tries to match from the df output and obviously fails.

from s.

Algodev-github avatar Algodev-github commented on August 21, 2024

from s.

teohhanhui avatar teohhanhui commented on August 21, 2024

Does it work if you set TEST_DEV as I suggested, in ~/.S-config?

Unfortunately not. This is what I get instead:

$ run_multiple_benchmarks/test_responsiveness.sh
[sudo] password for teohhanhui: 
Not enough free space for test files in /var/lib/S: I need at least 500MB

I added logging after this line:

DISK=$(lsblk -o TYPE /dev/$TEST_DEV | egrep disk)
and this is what I get:

TEST_DEV=nvme0n1
TEST_PARTITION=nvme0n1p2
DISK=disk

🤷‍♂️

from s.

paolo-github avatar paolo-github commented on August 21, 2024

from s.

teohhanhui avatar teohhanhui commented on August 21, 2024

Do you have at least 500MB of free space in the partition containing /var/lib/S? Is that directory in the right test partition?

Yes and yes.

Looks like this line is still the culprit:

if [[ "$(df | egrep $PART)" == "" ]]; then # it must be /dev/root
as it resets PART to /dev/root.

from s.

paolo-github avatar paolo-github commented on August 21, 2024

from s.

teohhanhui avatar teohhanhui commented on August 21, 2024

Turns out it was a very simple fix. PR incoming!

from s.

teohhanhui avatar teohhanhui commented on August 21, 2024

What I've noticed in the results is how the throughput gets reduced to ~30%, but then the latency is also reduced to ~30% (for the 10r-seq workload).

results.tar.gz

from s.

Algodev-github avatar Algodev-github commented on August 21, 2024

from s.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.