GithubHelp home page GithubHelp logo

Comments (13)

bkueng avatar bkueng commented on July 28, 2024

Did you see this: http://dev.px4.io/advanced-logging.html#dropouts ?
Should I write more?

from px4-devguide.

LorenzMeier avatar LorenzMeier commented on July 28, 2024

Yes, we should recommend individual models and list their performance.

from px4-devguide.

kd0aij avatar kd0aij commented on July 28, 2024

don't forget this data: PX4/PX4-Autopilot#4634

from px4-devguide.

bkueng avatar bkueng commented on July 28, 2024

@kd0aij Yes I took the data from there and summed it up in the dev-guide.

from px4-devguide.

kd0aij avatar kd0aij commented on July 28, 2024

@bkueng I think we want the absolute max for the last column in the table, not an average.
That SanDisk Extreme U3 32GB card must be doing its own buffering, since the variance in the max block write time is so small.

@pkocmoud Is this the same card? https://www.amazon.com/dp/B013CP3KZ6/ref=psdc_1197396_t1_B00MBFPT44

If so, I'll order some of the 16 and 32 GB versions and try them myself.

from px4-devguide.

bkueng avatar bkueng commented on July 28, 2024

@kd0aij I wanted to have some statistical meaningful value, so I took the average over the spikes. It should give the reader a good idea to compare the cards, not a once-in-a-lifetime value that is potentially never reached again. The link to the more precise measurements is still there as well.
But I don't feel too strong about this, so feel free to edit.

from px4-devguide.

pkocmoud avatar pkocmoud commented on July 28, 2024

@kd0aij I have none of these cards.

from px4-devguide.

kd0aij avatar kd0aij commented on July 28, 2024

@bkueng My thinking was that we want to know "worst-case" latency in order to determine the buffer size required to prevent dropouts. The max for the best card is only 17msec with an avg throughput of 460KB/sec, so the buffer size required for that speed would be less than 8000 bytes.

But I'm more curious about why a card advertised as having a 40MB/sec write speed is achieving less than 0.5MB/sec in our tests.

@pkocmoud Which SanDisk Extreme U3 32GB card did you test? I believe you once said that the quality of a card depends on where you buy it?

from px4-devguide.

bkueng avatar bkueng commented on July 28, 2024

yeah that's a good argument as well. I was wondering about write speed too, so I tested under Linux, and the same cards actually achieved much higher throughput, around 10x what I measured with Pixracer. Not sure why though.
I tested the Extreme U3.

from px4-devguide.

kd0aij avatar kd0aij commented on July 28, 2024

@pkocmoud Sorry, I didn't notice that wasn't you testing the U3

from px4-devguide.

kd0aij avatar kd0aij commented on July 28, 2024

@bkueng I tested a Sandisk Extreme U3 16GB card, and the first run results were similar to your 32GB card test, with max write times of about 17msec. But after I noticed dropouts at about 50KB/sec with the new logger on master, I reran sd_bench, and most of the max write times are over 250msec. Reformatting the SD card had no effect, max write times are still > 250msec.
https://www.amazon.com/gp/product/B013CP5F90/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

Could you run a test writing an actual log file using master? I'm curious as to whether my 16GB card is behaving very differently from your 32GB card.

PX4/PX4-Autopilot#4634 (comment)

from px4-devguide.

bkueng avatar bkueng commented on July 28, 2024

@kd0aij That seems weird. I've been using my U3 32GB quite often with the new logger, including today with latest master, and no dropouts. Your linked card is the same, appart from the size. Do you have a 32GB version too?

from px4-devguide.

kd0aij avatar kd0aij commented on July 28, 2024

No, will try it in other vehicles

On Mon, Aug 8, 2016, 8:20 AM Beat Küng [email protected] wrote:

@kd0aij https://github.com/kd0aij That seems weird. I've been using my
U3 32GB quite often with the new logger, including today with latest
master, and no dropouts. Your linked card is the same, appart from the
size. Do you have a 32GB version too?


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
#25 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACMZPc2NGwRdmJnKpPmVUiE7SZWsukioks5qdzsbgaJpZM4JZAWo
.

from px4-devguide.

Related Issues (20)

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.