# Raspberry 3/4 Node Owner - Did you do any optimizations?

**URL:** <https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565>\
**Category:** getting started\
**Tags:** raspberry\
**Created:** [February 11, 2020, 3:52pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565 "2020-02-11T15:52:50Z")\
**Posts on this page:** 20\
**Page:** 7

<div class="post-metadata">

**Author:** ![andrew2.hart](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/andrew2.hart/32/6415_2.png) [@andrew2.hart](https://forum.storj.io/u/andrew2.hart)\
**Post date:** [April 20, 2020, 1:23pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/121 "2020-04-20T13:23:14Z")

</div>

Not sure, I pulled mine out of old mobiles

---

<div class="post-metadata">

**Author:** ![dragonhogan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/dragonhogan/32/6078_2.png) [@dragonhogan](https://forum.storj.io/u/dragonhogan)\
**Post date:** [April 20, 2020, 3:19pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/122 "2020-04-20T15:19:45Z")

</div>

What’s the rationale for deactivating swapping?

---

<div class="post-metadata">

**Author:** ![fry](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/fry/32/1138_2.png) [@fry](https://forum.storj.io/u/fry)\
**Post date:** [April 20, 2020, 4:33pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/123 "2020-04-20T16:33:10Z")

</div>

my guess on a pi would be to avoid burning de sd card

---

<div class="post-metadata">

**Author:** ![kevink](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kevink/32/6077_2.png) [@kevink](https://forum.storj.io/u/kevink)\
**Post date:** [April 20, 2020, 4:34pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/124 "2020-04-20T16:34:33Z")

</div>

if a pi starts swapping, it is responding so slow, you can’t really work with it anymore anyways.

---

<div class="post-metadata">

**Author:** ![paulie1001](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/paulie1001/32/1127_2.png) [@paulie1001](https://forum.storj.io/u/paulie1001)\
**Post date:** [April 20, 2020, 8:17pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/125 "2020-04-20T20:17:51Z")

</div>

LinuxNet: r u running 32 or 64 bit raspbian?

---

<div class="post-metadata">

**Author:** ![LinuxNet](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/linuxnet/32/6084_2.png) [@LinuxNet](https://forum.storj.io/u/LinuxNet)\
**Post date:** [April 20, 2020, 8:54pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/126 "2020-04-20T20:54:29Z")

</div>

I only have a SanDisk Ultra 16GB microSDHC and always have one as a replacement at home.  
Don’t buy expensive SD cards. The pi’s like to punch them because the SD cards are actually not intended for so many write and read accesses.  
At the moment the Pi4 is running in 32bit mode, I’m probably a Noob xD, but I’ve already used it with Raspian 64bit. But I had the problem with 64bit that some software still recognized the Pi as 32bit. But that was a few months ago, I cannot judge how it is today. so far I have no urgent need for 64bit and everything runs smoothly.

---

<div class="post-metadata">

**Author:** ![paulie1001](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/paulie1001/32/1127_2.png) [@paulie1001](https://forum.storj.io/u/paulie1001)\
**Post date:** [April 21, 2020, 9:37am UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/127 "2020-04-21T09:37:48Z")

</div>

Which filesystem did u format the CD card? ext4? fat32 ?

---

<div class="post-metadata">

**Author:** ![LinuxNet](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/linuxnet/32/6084_2.png) [@LinuxNet](https://forum.storj.io/u/LinuxNet)\
**Post date:** [April 21, 2020, 3:31pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/128 "2020-04-21T15:31:24Z")

</div>

Formatted in FAT32 and the OS with Rufus or balenaEtcher flashed onto the SD card 🙂

EDIT:  
I forgot: I also save the Storj Log on the HDD. The log is not healthy for the SD and can quickly reach several GB

---

<div class="post-metadata">

**Author:** ![Pac](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/pac/32/6053_2.png) [@Pac](https://forum.storj.io/u/Pac)\
**Post date:** [April 22, 2020, 10:00pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/129 "2020-04-22T22:00:56Z")

</div>

> [@LinuxNet](#):
>
> I also save the Storj Log on the HDD

Ah, good point! How did you configure this?

---

<div class="post-metadata">

**Author:** ![LinuxNet](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/linuxnet/32/6084_2.png) [@LinuxNet](https://forum.storj.io/u/LinuxNet)\
**Post date:** [April 22, 2020, 10:49pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/130 "2020-04-22T22:49:46Z")

</div>

[https://documentation.storj.io/resources/faq/redirect-logs](https://documentation.storj.io/resources/faq/redirect-logs)

---

<div class="post-metadata">

**Author:** ![Pac](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/pac/32/6053_2.png) [@Pac](https://forum.storj.io/u/Pac)\
**Post date:** [April 23, 2020, 6:04am UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/131 "2020-04-23T06:04:58Z")

</div>

Thx for the info. This doesn’t seem to use docker’s way to log things though… ?

There must be a way to do this from the docker command I guess. I’m not a big fan of tampering with config.yaml ^^’

---

<div class="post-metadata">

**Author:** ![andrew2.hart](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/andrew2.hart/32/6415_2.png) [@andrew2.hart](https://forum.storj.io/u/andrew2.hart)\
**Post date:** [April 23, 2020, 8:34am UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/132 "2020-04-23T08:34:40Z")

</div>

I use this in the command to start the storagenode on the PI that uses SD for the root :  
`"--log-driver none \"` added to the standard command.  
On the other PIs I’ve moved root onto the HDD so I leave the log on.

---

<div class="post-metadata">

**Author:** ![LinuxNet](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/linuxnet/32/6084_2.png) [@LinuxNet](https://forum.storj.io/u/LinuxNet)\
**Post date:** [April 23, 2020, 8:12pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/133 "2020-04-23T20:12:05Z")

</div>

You can’t go wrong if you stop the Docker. The node is not offline for more than 10 seconds. With Nodepad++ you can continue to follow the log live.

---

<div class="post-metadata">

**Author:** ![Pac](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/pac/32/6053_2.png) [@Pac](https://forum.storj.io/u/Pac)\
**Post date:** [April 23, 2020, 8:52pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/134 "2020-04-23T20:52:07Z")

</div>

> [@andrew2.hart](#):
>
> On the other PIs I’ve moved root onto the HDD so I leave the log on

Right. How did you set that up? Changed `fstab` so `/` targets the external hard drive?

> [@andrew2.hart](#):
>
> "–log-driver none "

I see ^^ No log at all. I guess as suggested in [Registry | Docker Docs](https://docs.docker.com/registry/storage-drivers/inmemory/) another way would be to save logs to a RAMDISK: A few tens of MB should be enough I guess for each Node. Worth investigating.

---

<div class="post-metadata">

**Author:** ![andrew2.hart](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/andrew2.hart/32/6415_2.png) [@andrew2.hart](https://forum.storj.io/u/andrew2.hart)\
**Post date:** [April 24, 2020, 12:15pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/135 "2020-04-24T12:15:56Z")

</div>

I don’t think it is worth repeating how to move pi root as it is documented on the pi and os forums …

Not an optimization as such but for storj identity key generation on the pi4 :  
32bit raspian 1 million keys = 4m12s (version 0.29.3)  
64bit ubuntu 1 million keys = 0m48s (version 0.34.6)

---

<div class="post-metadata">

**Author:** ![Pac](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/pac/32/6053_2.png) [@Pac](https://forum.storj.io/u/Pac)\
**Post date:** [April 25, 2020, 10:45pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/136 "2020-04-25T22:45:18Z")

</div>

Is the performance improvement because of the 64bit OS? Impressive difference!

---

<div class="post-metadata">

**Author:** ![S0litiare](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/s0litiare/32/65_2.png) [@S0litiare](https://forum.storj.io/u/S0litiare)\
**Post date:** [April 25, 2020, 11:11pm UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/137 "2020-04-25T23:11:29Z")

</div>

It’s due to the hardware cryptographic instructions on the Rpi’s chips are only usable in 64 bit OS’s

In 32 bit it falls back to “software” to run cryptographic instructions.

So the key generation gets a huge boost with the 64bit hardware in the chip doing most of the number crunching.

---

<div class="post-metadata">

**Author:** ![LinuxNet](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/linuxnet/32/6084_2.png) [@LinuxNet](https://forum.storj.io/u/LinuxNet)\
**Post date:** [April 26, 2020, 10:03am UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/138 "2020-04-26T10:03:21Z")

</div>

I created a new identity yesterday with the Rpi4 and Raspian x32 … Over 12 hours oO

Can anyone say something about the stability of Raspian x64?

---

<div class="post-metadata">

**Author:** ![paulie1001](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/paulie1001/32/1127_2.png) [@paulie1001](https://forum.storj.io/u/paulie1001)\
**Post date:** [April 26, 2020, 10:48am UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/139 "2020-04-26T10:48:19Z")

</div>

LinuxNet: Did u ever consider to have the OS installed on an SSD/USB 3.0 drive? The read/write speeds are much higher compared to SD, and maybe the life-expectancy would be much longer since SSD/USB-sticks tolerate more read/write compared to SD cards?  
Since there is no boot-supprt for USB on RPI4 today, the solution would be to have the boot-partision on the SD-card (BerryBoot), and the operating system files on the external USB hard drive instead of on the SD card itself. Any comments? Might improve storj-success rate?  
By the way: How is your storj-success rate in ubuntu 64 bit compared to raspbian 32 bit ?

---

<div class="post-metadata">

**Author:** ![andrew2.hart](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/andrew2.hart/32/6415_2.png) [@andrew2.hart](https://forum.storj.io/u/andrew2.hart)\
**Post date:** [April 26, 2020, 11:27am UTC](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565/140 "2020-04-26T11:27:39Z")

</div>

No difference. My experience is limited by the (slow) broadband speed.

[Previous page](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565.md?page=6)

[Next page](https://forum.storj.io/t/raspberry-3-4-node-owner-did-you-do-any-optimizations/4565.md?page=8)
