Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Upgrading the Hardware

  1. #1
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    3,144

    Default Upgrading the Hardware

    The small desktop machine was assembled in 2014 using budget retail components:

    While the disks had already been upgraded the system lagged in speed compared to the bigger machine. I upgraded to the following components:

    Vendor's choices of the above come with substantial discounts. The Ryzen 5 3400g budget processor is on par with the 2015 top desktop processor i7 6700K: https://www.cpubenchmark.net/compare...00G/2565vs3498
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  2. #2
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    3,144

    Default Re: Upgrading the Hardware

    Switching the display from 1920x1200 to 3840x2160 forced switching from 60 Hz to 30 Hz. An upgrade resulted in:

    Code:
    erlangen:~ # inxi -aG
    Graphics:  Device-1: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] vendor: Sapphire Limited driver: amdgpu 
               v: kernel bus ID: 01:00.0 chip ID: 1002:699f 
               Display: server: X.Org 1.20.9 compositor: kwin_x11 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa 
               display ID: :0 screens: 1 
               Screen-1: 0 s-res: 3840x2160 s-dpi: 144 s-size: 677x381mm (26.7x15.0") s-diag: 777mm (30.6") 
               Monitor-1: HDMI-A-0 res: 3840x2160 hz: 60 dpi: 154 size: 632x360mm (24.9x14.2") diag: 727mm (28.6") 
               OpenGL: renderer: Radeon RX550/550 Series (POLARIS12 DRM 3.39.0 5.9.8-2-default LLVM 11.0.0) v: 4.6 Mesa 20.2.2 
               direct render: Yes 
    erlangen:~ #
    "Hot on the heels of the release of the Radeon RX 580 and RX 570 launched earlier this week, AMD have released a new Polaris 12 GPU, the Radeon RX 550. It is a sub-$100 entry level GPU, targeted at those who want an inexpensive, low profile, low power and low performance component for mini desktop PCs or a minor upgrade on integrated GPUs."

    https://gpu.userbenchmark.com/Compar...0/m33102vs3925

    Steps performed:

    1. removed side panel and slot cover
    2. plugged in the graphics card
    3. put back the side panel
    4. moved the HDMI cable from the main board to the graphics card


    Upgrade from the 6700K's GPU to the Radeon RX550 worked without any tinkering; a pleasant experience!
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,462

    Talking Re: Upgrading the Hardware

    Karl, it may pay to include the procedure needed to replace the system's drive(s) with newer devices – more disk space – fewer ECC reports in the SMART output …

  4. #4
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    3,144

    Default Drives

    Quote Originally Posted by dcurtisfra View Post
    Karl, it may pay to include the procedure needed to replace the system's drive(s) with newer devices – more disk space – fewer ECC reports in the SMART output …
    Whenever a component fails you replace it and you are done. However when a SSD or a HDD fails you got a problem. Uncle Carey tells you all: There Is No Such Thing As Back-Up Overkill! How I Protect My Client's Data.

    When it comes to upgrading your drives ATX main boards with their two M.2 and six SATA 6Gb/s connectors give you maximum flexibility at minimal costs.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  5. #5
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    3,144

    Default Re: Upgrading the Hardware

    Quote Originally Posted by dcurtisfra View Post
    Karl, it may pay to include the procedure needed to replace the system's drive(s) with newer devices – more disk space – fewer ECC reports in the SMART output …
    Replacing HDDs by SSDs is highly rewarding and the most efficient upgrade for nearly every system. SATA SSD technology has matured and virtually every brand and model will give excellent performance at a moderate price. I prefer copying with rsync to cloning partitions.

    The main board worked well with all distributions installed. However openSUSE Leap and Tumbleweed failed to suspend to RAM. Thus I sold it and bought a new one:
    Code:
    3400G:~ # inxi -zM
    Machine:   Type: Desktop Mobo: ASUSTeK model: PRIME B450-PLUS v: Rev X.0x serial: <filter> UEFI: American Megatrends v: 2409  
               date: 12/02/2020  
    3400G:~ #
    Many thanks for hinting!
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  6. #6

    Default Re: Upgrading the Hardware

    Quote Originally Posted by karlmistelberger View Post
    Switching the display from 1920x1200 to 3840x2160 forced switching from 60 Hz to 30 Hz. An upgrade resulted in:
    Ryzen with Vega graphics supports HDMI 2.0 -> 4K @ 60 Hz (@ 120 Hz with 4:2:0 subsampling).

    https://www.gigabyte.com/de/Motherbo...E-rev-1x/sp#sp
    1 x HDMI port, supporting a maximum resolution of 4096x2160@60(Note) Hz
    * Support for HDMI 2.0 version and HDCP 2.2.(Note)

    https://www.asus.com/uk/Motherboards...PLUS/techspec/
    - Supports HDMI 2.0b with maximum resolution of 4096 x 2160 @ 60 Hz

    You need cable with support for HDMI 2.0+.

  7. #7
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    3,144

    Default Black Friday: Replacing SSD 950 PRO 512GB by SSD 970 EVO Plus 2TB

    The new 970 EVO has fourfold capacity at half the price of the 950 PRO. With only one m.2 slot being available I proceeded as follows:
    1. save old drive to iso file using Tumbleweed USB Stick.
    2. remove 950 PRO and install 970 EVO.
    3. install Tumbleweed on 970 EVO using default partitioning
    4. boot into USB stick, mount old partitions using "losetup --partscan" and "mount -o subvolid=5 /dev/loop0 ... .
    5. use rsync for copying subvolumes
    6. adjust /etc/fstab for new UUIDs and subvolumes.
    7. reinstall grub


    Installing Tumbleweed first and rsyncing has some advantages.
    1. thorough testing of the drive using a pristine system with default partitioning
    2. fast update through rsync; less than one minute real time


    Default partitioning:
    Code:
    erlangen:~ # fdisk -l /dev/nvme0n1              
    Disk /dev/nvme0n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
    Disk model: Samsung SSD 970 EVO Plus 2TB             
    Units: sectors of 1 * 512 = 512 bytes 
    Sector size (logical/physical): 512 bytes / 512 bytes 
    I/O size (minimum/optimal): 512 bytes / 512 bytes 
    Disklabel type: gpt 
    Disk identifier: F5B232D0-7A67-461D-8E7D-B86A5B4C6C10 
    
    Device          Start       End   Sectors SizeType
    /dev/nvme0n1p1    2048    1050623    1048576  512M EFI System 
    /dev/nvme0n1p2 1050624 3907029134 3905978511  1.8T Linux filesystem 
    erlangen:~ #
    File systems:
    Code:
    erlangen:~ # lsblk -f /dev/nvme0n1            
    NAME        FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS 
    nvme0n1                                                                             
    ├─nvme0n1p1 vfat   FAT32       19CF-0B54                             510.4M     0% /boot/efi 
    └─nvme0n1p2 btrfs              0e58bbe5-eff7-4884-bb5d-a0aac3d8a344    1.5T    17% /var 
                                                                                       /usr/local 
                                                                                       /srv 
                                                                                       /root 
                                                                                       /opt 
                                                                                       /home 
                                                                                       /boot/grub2/x86_64-efi 
                                                                                       /boot/grub2/i386-pc 
                                                                                       /.snapshots 
                                                                                       / 
    erlangen:~ #
    Changed entries are marked in bold. Home has been converted from ext4 partition to btrfs subvolume.
    Code:
    erlangen:~ # cat /etc/fstab  
    UUID=0e58bbe5-eff7-4884-bb5d-a0aac3d8a344  /                       btrfs  defaults                      0  0 
    UUID=0e58bbe5-eff7-4884-bb5d-a0aac3d8a344  /var                    btrfs  subvol=/@/var                 0  0 
    UUID=0e58bbe5-eff7-4884-bb5d-a0aac3d8a344  /usr/local              btrfs  subvol=/@/usr/local           0  0 
    UUID=0e58bbe5-eff7-4884-bb5d-a0aac3d8a344  /srv                    btrfs  subvol=/@/srv                 0  0 
    UUID=0e58bbe5-eff7-4884-bb5d-a0aac3d8a344  /root                   btrfs  subvol=/@/root                0  0 
    UUID=0e58bbe5-eff7-4884-bb5d-a0aac3d8a344  /opt                    btrfs  subvol=/@/opt                 0  0 
    UUID=0e58bbe5-eff7-4884-bb5d-a0aac3d8a344  /home                   btrfs  subvol=/@/home                0  0 
    UUID=0e58bbe5-eff7-4884-bb5d-a0aac3d8a344  /boot/grub2/x86_64-efi  btrfs  subvol=/@/boot/grub2/x86_64-efi  0  0 
    UUID=0e58bbe5-eff7-4884-bb5d-a0aac3d8a344  /boot/grub2/i386-pc     btrfs  subvol=/@/boot/grub2/i386-pc  0  0 
    UUID=19CF-0B54                             /boot/efi               vfat   defaults                      0  0 
    UUID=5605f149-34a7-4301-9bf3-f1f177e35ed6  /home-SSD               ext4   data=ordered                  0  0 
    UUID=f5177cae-4082-44ed-9471-b99030f06866  /HDD                    ext4   noauto                        0  0 
    UUID=6914-84F3                             /GARMIN                 vfat   user,noauto                   0  0 
    UUID=0267-906F                             /GARMIN-KART            vfat   user,noauto                   0  0 
    UUID=0e58bbe5-eff7-4884-bb5d-a0aac3d8a344  /.snapshots             btrfs  subvol=/@/.snapshots          0  0 
    LABEL=FR735                                /FR735                  vfat   user,noauto                   0  0 
    UUID=2f0030b8-7257-4cba-be3e-b33154cda052  /WD25                   ext4   noauto                        0  0 
    //fritz.box/FRITZ.NAS                      /fritz.box              cifs   noauto,username=ftpuser,vers=1.0  0  0 
    erlangen:~ #
    Rsync commands for subvolumes:
    Code:
    time rsync -a /mnt/C/@/.snapshots/1709/snapshot/ /mnt/B/@/.snapshots/1/snapshot/ 
    time rsync -a /mnt/C/@/var/ /mnt/B/@/var/ 
    time rsync -a /mnt/C/@/root/ /mnt/B/@/root/ 
    time rsync -a /mnt/C/@/opt/ /mnt/B/@/opt/ 
    time rsync -a /mnt/C/@/srv/ /mnt/B/@/srv/ 
    time rsync -a /mnt/C/@/usr/local/ /mnt/B/@/usr/local/
    time rsync -a /mnt/A/temporary/ /mnt/B/@/home/
    
    Disk Space:
    Code:
    erlangen:~ # btrfs filesystem usage -T /            
    Overall: 
        Device size:                   1.82TiB 
        Device allocated:            315.02GiB 
        Device unallocated:            1.51TiB 
        Device missing:                  0.00B 
        Used:                        313.40GiB 
        Free (estimated):              1.51TiB      (min: 1.51TiB) 
        Free (statfs, df):             1.51TiB 
        Data ratio:                       1.00 
        Metadata ratio:                   1.00 
        Global reserve:              423.16MiB      (used: 0.00B) 
        Multiple profiles:                  no 
    
                      Data      Metadata System               
    Id Path           single    DUP      DUP      Unallocated 
    -- -------------- --------- -------- -------- ----------- 
     1 /dev/nvme0n1p2 313.01GiB  2.00GiB  8.00MiB     1.51TiB 
    -- -------------- --------- -------- -------- ----------- 
       Total          313.01GiB  2.00GiB  8.00MiB     1.51TiB 
       Used           312.20GiB  1.20GiB 64.00KiB             
    erlangen:~ #
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,114
    Blog Entries
    15

    Default Re: Upgrading the Hardware

    Hi
    No thoughts on using a 4096 sector size?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    3,144

    Default Re: Upgrading the Hardware

    Quote Originally Posted by malcolmlewis View Post
    No thoughts on using a 4096 sector size?
    I think btrfs doesn't care about 512 sector size:
    Code:
    erlangen:~ # stat /home/karl/Downloads/openSUSE-Tumbleweed-NET-x86_64-Snapshot20211122-Media.iso  
      File: /home/karl/Downloads/openSUSE-Tumbleweed-NET-x86_64-Snapshot20211122-Media.iso 
      Size: 196083712       Blocks: 382976     IO Block: 4096   regular file 
    Device: 0,43    Inode: 494983      Links: 1 
    Access: (0644/-rw-r--r--)  Uid: ( 1000/    karl)   Gid: (  100/   users) 
    Access: 2021-11-25 07:54:59.421710311 +0100 
    Modify: 2021-11-24 20:07:20.030433488 +0100 
    Change: 2021-11-25 07:54:59.777713191 +0100 
     Birth: 2021-11-25 07:54:59.421710311 +0100 
    erlangen:~ # stat -f /home/karl/Downloads/openSUSE-Tumbleweed-NET-x86_64-Snapshot20211122-Media.iso  
      File: "/home/karl/Downloads/openSUSE-Tumbleweed-NET-x86_64-Snapshot20211122-Media.iso" 
        ID: b5051b4f2c2feac6 Namelen: 255     Type: btrfs 
    Block size: 4096       Fundamental block size: 4096 
    Blocks: Total: 488247313  Free: 405624591  Available: 405312070 
    Inodes: Total: 0          Free: 0 
    erlangen:~ #
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,114
    Blog Entries
    15

    Default Re: Upgrading the Hardware

    Quote Originally Posted by karlmistelberger View Post
    I think btrfs doesn't care about 512 sector size:
    Code:
    erlangen:~ # stat /home/karl/Downloads/openSUSE-Tumbleweed-NET-x86_64-Snapshot20211122-Media.iso  
      File: /home/karl/Downloads/openSUSE-Tumbleweed-NET-x86_64-Snapshot20211122-Media.iso 
      Size: 196083712       Blocks: 382976     IO Block: 4096   regular file 
    Device: 0,43    Inode: 494983      Links: 1 
    Access: (0644/-rw-r--r--)  Uid: ( 1000/    karl)   Gid: (  100/   users) 
    Access: 2021-11-25 07:54:59.421710311 +0100 
    Modify: 2021-11-24 20:07:20.030433488 +0100 
    Change: 2021-11-25 07:54:59.777713191 +0100 
     Birth: 2021-11-25 07:54:59.421710311 +0100 
    erlangen:~ # stat -f /home/karl/Downloads/openSUSE-Tumbleweed-NET-x86_64-Snapshot20211122-Media.iso  
      File: "/home/karl/Downloads/openSUSE-Tumbleweed-NET-x86_64-Snapshot20211122-Media.iso" 
        ID: b5051b4f2c2feac6 Namelen: 255     Type: btrfs 
    Block size: 4096       Fundamental block size: 4096 
    Blocks: Total: 488247313  Free: 405624591  Available: 405312070 
    Inodes: Total: 0          Free: 0 
    erlangen:~ #
    Hi
    The default is 4096 for btrfs (AFAIK xfs and ext4 need to be set manually)....

    Code:
    btrfs inspect-internal dump-super /dev/nvme0n1p2 | grep sectorsize
    
    sectorsize		4096
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •