Usb boot and 1gb micro sd

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Boris88
Posts: 6
Joined: Wed Nov 29, 2017 9:09 am

Usb boot and 1gb micro sd

Post by Boris88 »

Hi, i'm pretty new to Linux, I'm using raspberry pi 3 and i have few questions:

1.I only have 1gb micro sd card. I have read that dietpi can boot from usb flash/hdd if i enable it dietpi-config and install a dietpi image on that flash/hdd, but it need system to be installed on micro sd to do that. I'm using different approach that is written in this tutorial
http://www.redrobe.com/mike/boot-raspbe ... b-sd-card/
is that approach good as official dietpi solution (dietpi-config option), or do i need to buy bigger micro sd card.

2. I will be using rp3 as a nas/sonarr, raddar server, for now i'm using generic usb 2.0 Kingston usb flash with write-11mbs/read-22mbs (but will be using western digital elements 3.0 1tb hdd) and i saw that speed in transmission are not solid, the speed will go up and down frequently ( i have 50mbt internet)
and also when i transfer something with samba, the speed will drop from 8 mb to 1 mb or bellow in cycles, so i'm thinking that dietpi is doing something in background (read/write) and that is the reason for speed difference? is that problem will resolve with putting dietpi on hdd 3.0 or i will be better with dietpi stored on micro sd card? also if read/writes are frequent are hdd never gonna be putted to sleep, when i'm not using rp3

3. What is better when using hdd as system image, to let dietpi expend root partition to full capacity or make new partition that will be used to store movies and another files?
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Usb boot and 1gb micro sd

Post by johnvick »

Boris88 wrote:Hi, i'm pretty new to Linux, I'm using raspberry pi 3 and i have few questions:

1.I only have 1gb micro sd card. I have read that dietpi can boot from usb flash/hdd if i enable it dietpi-config and install a dietpi image on that flash/hdd, but it need system to be installed on micro sd to do that. I'm using different approach that is written in this tutorial
http://www.redrobe.com/mike/boot-raspbe ... b-sd-card/
is that approach good as official dietpi solution (dietpi-config option), or do i need to buy bigger micro sd card.
I'd suggest a bigger card - a 1 GB one must be old, slow and probably not very reliable. SanDisk Ultra and Extreme are good choices. 8 GB at a minimum and use a USB flash or HD for your media.

John
Boris88
Posts: 6
Joined: Wed Nov 29, 2017 9:09 am

Re: Usb boot and 1gb micro sd

Post by Boris88 »

I bought 32gb samsung evo + after seeing few raspberry pi micro sd card speed tests, and my card is not performing very well..
can you tell me if i'm doing something wrong?
32gb evo + can theoretically gain 20 MB/s write and 95 MB/s read speeds, i know that i will not get these speeds..

First i put micro sd card in laptop sd card slot with windows os and ran few tests..
When i transfer big files from and to sd card i get around 20 MB/s write and 80 MB/s read speeds..when i transfer 100+ photos i get 10+ MB/s write speed.. Then i ran CrystalDiskMark and i also got around 20 MB/s write and 80 MB/s read speeds, and sequential speed around 7 MB/s read and 1 MB/s write..

On fresh dietpi install i run these tests that contain hdparm, dd, and iozone..
curl http://www.nmacleod.com/public/sdbench.sh | sudo bash
curl https://raw.githubusercontent.com/geerl ... chmarks.sh | sudo bash
and when i saw poor performance i tried to overclock sd card with dtparam=sd_overclock=100 line in DietPi/config.txt
and performance was little better but far from raspberry pi micro sd card tests i saw on the net
than i tried to install raspbian to be sure, and i got similar result with 50 mhz and overclock 100 mhz
i run tests in 3 rounds to be sure, these pictures in imgur album are from raspbian os

https://imgur.com/a/fyx2h

If you have some suggestions, please share.. Thanks
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Usb boot and 1gb micro sd

Post by Fourdee »

Hi,

Please see:
http://dietpi.com/phpbb/viewtopic.php?f=15&t=331#p1452
32gb evo + can theoretically gain 20 MB/s write and 95 MB/s read speeds
Samsung rate the write speed as "Upto" on EVO. Not guaranteed.
And with read and write speeds of up to 80 MB/s and 20 MB/s respectively,
https://www.amazon.co.uk/Samsung-Memory ... s+micro+sd
I personally use Sandisk Extreme UHS-3 range, with higher write speeds. With SD overclock (link above), 26-37.5MB/s write.
Up to 60/40 MB/s read/write speeds for faster recording and transfer
https://www.amazon.co.uk/SanDisk-Extrem ... B00M55BS8G
Rule of thumb, Upto does not mean you'll achieve it, so purchase an SD card with a higher write speed than you need to avoid disappointment.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply