Comments (10)
What version of ESP-IDF are you using? I'm developing against the latest master.
from smooth.
from smooth.
That is odd, somehow you have an include path to ${IDF_PATH}/components/json/cJSON instead of ${IDF_PATH}/components.
Did you regenerate the project? Also, did you update the IDF submodules?
from smooth.
from smooth.
Ah, so you're not using it as a CMake-project; that explains why you have to make changes. I use CLion ad my IDE and while IDF's CMake-ish setup isn't yet really finished it works well enough until Espressif release a new version of the CMake support.
from smooth.
from smooth.
- Looks like the main task is starved of CPU cycles. Are you running with the sdconfig that comes with smooth or a custom one?
- No? What does sdcard.cpp have to do with the queue example?
- As expected.
- The idle task easily gets starved of CPU cycles and unless you actually utilize it to perform work, it is nothing to worry about.
- That's a mistake Fixed in this commit
I'll try to remember to run the queue example when I get back home to double check that it works.
from smooth.
@enelson1001 I just ran the queue example without modifications (using the sdkonfig file included with the Smooth test project) and it behaves as expected with the following output:
(V)Queue: Creating queue 'string queue-TaskEventQueue', with 10 items of size 32.
(D)MainTask: Running as attached thread
(D)MainTask: Executing...
(V)MainTask: Initializing...
(V)Queue: Creating queue 'SocketDispatcher-TaskEventQueue', with 10 items of size 8.
(V)Queue: Creating queue 'SocketOperations-TaskEventQueue', with 20 items of size 12.
(D)SocketDispatcher: Creating worker thread
(D)SocketDispatcher: Waiting for worker to start
(D)SocketDispatcher: Executing...
(D)SocketDispatcher: Notify start_mutex
(D)SenderTask: Creating worker thread
(D)SenderTask: Waiting for worker to start
(V)SocketDispatcher: Initializing...
(V)SocketDispatcher: Initialized
(D)SenderTask: Executing...
(D)SenderTask: Notify start_mutex
(V)SenderTask: Initializing...
(V)SenderTask: Initialized
(V)MainTask: Initialized
(D)Stats: Avg: 226.03us per message, Count: 100, Last msg: 130us
(D)Stats: Avg: 312.69us per message, Count: 200, Last msg: 129us
(D)Stats: Avg: 290.99us per message, Count: 300, Last msg: 129us
(D)Stats: Avg: 310.39us per message, Count: 400, Last msg: 129us
(D)Stats: Avg: 279.65us per message, Count: 500, Last msg: 130us
(D)Stats: Avg: 288.78us per message, Count: 600, Last msg: 130us
(D)Stats: Avg: 288.39us per message, Count: 700, Last msg: 129us
(D)Stats: Avg: 272.25us per message, Count: 800, Last msg: 130us
(D)Stats: Avg: 308.07us per message, Count: 900, Last msg: 1000us
(D)Stats: Avg: 297.42us per message, Count: 1000, Last msg: 129us
(D)Stats: Avg: 288.01us per message, Count: 1100, Last msg: 129us
(D)Stats: Avg: 289.48us per message, Count: 1200, Last msg: 129us
(D)Stats: Avg: 283.30us per message, Count: 1300, Last msg: 129us
(D)Stats: Avg: 280.42us per message, Count: 1400, Last msg: 129us
(D)Stats: Avg: 275.51us per message, Count: 1500, Last msg: 130us
(D)Stats: Avg: 269.08us per message, Count: 1600, Last msg: 129us
(D)Stats: Avg: 267.06us per message, Count: 1700, Last msg: 129us
from smooth.
from smooth.
Great. I'm guessing it is the FreeRTOS tick that was different. I think I set it to the maximum 1000 to be able to get the highest possible timer resolution.
from smooth.
Related Issues (20)
- Problems with Wifi.cpp and SDCard.cpp HOT 7
- "Slow" reaction on TCP telegrams HOT 16
- Discussion: SPI Master & SDCard updates HOT 2
- SystemStatistics.h needs #pragma once HOT 3
- Discussion: new I2C sensor SHT30 HOT 2
- github actions: compile host and esp32 build in parallel HOT 2
- use full capability of cmake HOT 2
- Change Task tick up once it's created HOT 2
- HTTP Server not working on host system HOT 2
- Byte error in transmission using "responses::FileContentResponse" HOT 4
- C++ code vs expectations HOT 5
- MQTT maximum throughput HOT 10
- Trouble running build_test.sh HOT 7
- ❓Can you require smooth from a traditional ESP-IDF component? HOT 4
- Connecting to AWS IoT HOT 2
- MQTT user/password authentication HOT 11
- [Feature Request] PPPoS support HOT 1
- MMCSDCard.cpp fails to compile for esp32-c3 HOT 1
- Disable -Werror=old-style-cast
- Completely broken? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smooth.