Fedora/Morefine: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 1: Line 1:
==Benchmarks==
==Benchmarks==
{|
{|
| valign="top" |
'''time openssl dhparam -out ~/dh2048.pem 2048'''
| valign="top" |
'''time openssl dhparam -out ~/dh4096.pem 4096'''
|-
| colspan="2" |
| colspan="2" |
----
'''Raspberry Pi4'''
'''Raspberry Pi4'''
----
----
|-
|-
| valign="top" |
| valign="top" |
'''time openssl dhparam -out ~/dh2048.pem 2048'''
  real 13m29.781s
  real 13m29.781s
  user 13m29.619s
  user 13m29.619s
Line 12: Line 17:


| valign="top" |
| valign="top" |
  '''time openssl dhparam -out ~/dh4096.pem 4096'''
  real 87m20.886s
real
  user 87m19.900s
  user
  sys 0m0.261s
  sys


|-
|-
| colspan="2" |
| colspan="2" |
----
'''Morefine M8S'''
'''Morefine M8S'''
----
----
|-
|-
| valign="top" |
| valign="top" |
'''time openssl dhparam -out ~/dh2048.pem 2048'''
  real 1m27.368s
  real 1m27.368s
  user 1m26.946s
  user 1m26.946s
Line 29: Line 33:


| valign="top" |
| valign="top" |
'''time openssl dhparam -out ~/dh4096.pem 4096'''
  real 17m34.707s
  real 17m34.707s
  user 17m33.184s
  user 17m33.184s
Line 36: Line 39:
|-
|-
| colspan="2" |
| colspan="2" |
----
'''Legion 5Pro'''
'''Legion 5Pro'''
----
----
|-
|-
| valign="top" |
| valign="top" |
'''time openssl dhparam -out ~/dh2048.pem 2048'''
  real 0m17.441s
  real 0m17.441s
  user 0m17.429s
  user 0m17.429s
Line 46: Line 49:


| valign="top" |
| valign="top" |
'''time openssl dhparam -out ~/dh4096.pem 4096'''
  real 2m5.231s
  real 2m5.231s
  user 2m5.202s
  user 2m5.202s

Revision as of 03:12, 12 December 2022

Benchmarks

time openssl dhparam -out ~/dh2048.pem 2048
time openssl dhparam -out ~/dh4096.pem 4096

Raspberry Pi4


real	13m29.781s
user	13m29.619s
sys	0m0.111s
real	87m20.886s
user	87m19.900s
sys	0m0.261s

Morefine M8S


real	1m27.368s
user	1m26.946s
sys	0m0.109s
real	17m34.707s
user	17m33.184s
sys	0m0.065s

Legion 5Pro


real	0m17.441s
user	0m17.429s
sys	0m0.004s
real	2m5.231s
user	2m5.202s
sys	0m0.012s

Fedora 37 Fixes

sudo ostree remote add --if-not-exists\
 --gpg-import=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-37-x86_64\
 fedora-iot-mirrorlist https://d2ju0wfl996cmc.cloudfront.net

backupDir="$HOME/backups/etc_ostree_remotes_d/" && mkdir -p $backupDir\
 && cp /etc/ostree/remotes.d/fedora-iot.conf $backupDir

sudo ostree remote delete fedora-iot
deployment="$(ls -Art /sysroot/ostree/deploy/fedora-iot/deploy | tail -n 1)";\
/sysroot/ostree/deploy/fedora-iot/deploy/$(echo "${deployment%%*(.origin)}")/usr/lib/greenboot/check/wanted.d/01_update_platforms_check.sh

sudo rpm-ostree rebase fedora-iot-mirrorlist:fedora/devel/x86_64/iot
sudo rpm-ostree upgrade -r

Fedora 37 OSTree

rpm-ostree install wget
rpm-ostree install httpd
rpm-ostree install python3
rpm-ostree install java-17-openjdk
rpm-ostree install java-17-openjdk-devel

References