I have a raspberry 2 (with raspbian), I installed Iceweasel and I added the addons iMacros. I created a script in js, is really very slow, however, is only used 25% of CPU and less than 50% of ram. Why it can not use all the resources? and complete the task in less time?
Raspberry does not use all the CPU
1.3k views Asked by michelle.70 At
3
There are 3 answers
0
rkosegi
On
You didn't count I/O. When OS runs from SD-card it can be much slower then you expect.
Try this :
time /path/to/your/command args
It will post something like this:
real 0m1.096s
user 0m0.220s
sys 0m0.060s
This will give you more info where is which portion of time is spent.
It is also possible to use
strace -f -t /path/to/your/command args
This will give you verbose output of system calls with timestamps
Related Questions in RASPBERRY-PI
- Raspberry Pi Sense Hat with Pyinstaller
- Waiting for several hours before resuming execution
- Using compositor in Gstreamer to merge imagesequence with video/audio stream
- How to make this sensor keep taking readings once its when_in_range function has been activated?
- Emulating an HID device with a raspberry pi 5
- How to stream PCM audio to a speakers both on mac and linux in Node.js?
- I want to use NRF24L01 transceiver with raspberry pi but some GPIO pins are already occupied by 3.5 inch display how do i connect transceiver
- voron 2.4 mainsail kiauh error install crowsnest (solved problem)
- Pi4J minimal example's LED doesn't blink
- How can I connect and send data from react-native to raspberry pi
- Xpt 2046 Display with Pn532 RFID reader
- Google SDK for Raspberry pi
- How to use a RaspberryPi camera with the cv2.videoCapture() function?
- How do I capture audio from the system bus in a node app (or from sox) on a raspberry pi?
- Can't open /dev/mem: Operation not permitted Raspberry Pi
Related Questions in RASPBIAN
- How do I run the following script in Raspberry pi 4 terminal as soon as it starts up?
- How can I ask in stack that after updating CIFS samba client stopped working?
- The 3.5 inch raspberry pi 4B screen does not work error Cmakelists.txtprojects()
- Compiling a C-project under RaspBian getting undefined reference to `powf'
- Raspberry Pi GPIO - device or resource busy
- How to clean the packets of AVFormatContext?
- ImportError: No module named setuptools on Raspbian OS
- How do I connect proximity data from an ultrasonic sensor to audio playback volume in python on a Raspberry Pi?
- How to record frames with ffmpeg and finish the recording
- Installing wayfire-plugins-extra from github on Raspian "Bookworm"
- How can I make a script autostart in a virtual environment in Raspbian?
- Readout State of Numpad
- what are the ffmpeg parameters for capturing the screen on raspbian?
- Raspberry Pi: problem with external USB drive and USB modem
- Display Chromium, Firefox, etc on my OSX when it's running on my Raspberry Pi
Related Questions in IMACROS
- Imacros copy and paste from box
- iMacros Not Recording With SalesForce
- Getting url after download dialog with iMacro
- Imacros: how to find TAG position of a submit button?
- iMacros formatting random numbers as currency, does not affect the same field each time
- iMacros: How can I select multiple items in a very basic combo box?
- Hyperlink doesn't working in iMacros 2021 but does in iMacros version 12
- iMacros: How to get the DATE with EVAL
- iMacros - Detect {{LOOP}} value number and scrol down the page
- Auto-select a value from a drop down list in a Chrome extension
- How to make the Eval function from Regex code ready for iMacros
- How to replace the break with a comma after two words?
- Extract ALL child div's classes data with iMacros to Excel
- iMacros - Extract first words from a phrase
- iMacros - How to Extract the first 100 Characters from a `TAG CONTENT`?
Related Questions in RASPBERRY-PI2
- GPIO / System.Device.Gpio / RegisterCallbackForPinValueChangedEvent / Rising and Falling Continuously with circuit closed
- How to create EMMC partition using u-boot mmc commands?
- Streaming live camera feed from Jetson Nano production board to different devices(desktop or Mobile)
- node-sense-hat RTIMULib2 function getData() goes blank when scope changes
- Missing headerfiles running SWUpdate on Raspberrypi 2
- nvm install nodejs onto raspberry pi via ssh erroring
- Nodejs is not fully functional when running on autostart
- Raspberry Pi 2 B Tkinter performance problem
- search for python libary to build display with images and videos
- Add a dependency from a maven project to a non-maven project
- Errors starting Electron on Raspberry pi2
- serial.serialutil.SerialException: read failed
- Raspberry pi 2 B + Selenium Java = WebDriverException: java.net.ConnectException: Failed to connect
- VNC on Raspberry Pi shows Cannot Currently Show the Desktop
- How do I load CSVs into tables in MariaDB running on a Raspberry Pi2?
Related Questions in ICEWEASEL
- Where can I find Iceweasel in Debian?
- How to avoid using Math.Random() on bitaddress.org on Iceweasel 20
- How to remove unresponsive script in Firefox with selenium python
- selenium WebDriverException: "connection refused" occuring on headless Pi
- Selenium Firefox webdriver works on images built from Ubuntu but not on images built from Debian
- Raspberry Pi Selenium Python -- Iceweasel doesn't load the page properly
- Unable to find a matching set of capabilities
- Opening and closing Iceweasel for Kiosk
- Backup Iceweasel Bookmarks and Passwords from CL
- Raspbian Jessie, Application Autostart
- phpMyAdmin error: Cannot access browser storage
- Raspberry does not use all the CPU
- Vimperator: Follow hint in new tab and switch to it
- Runnning a Selenium test on RasPi iceweasel
- Can't run java 8u71 on Iceweasel
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You are processing a single task on your raspberry pi.
The raspberry has a quad core processor (product page).
Because a single task can only run on one core the same time, only 25% of the cores are fully used.