RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    USB or SD Card for gamelist.xml & images/snaps

    Scheduled Pinned Locked Moved Help and Support
    gamelist.xmlimagessnaps
    12 Posts 4 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ClydeC
      Clyde
      last edited by

      I think the USB hard drive should be faster in most cases. You can check their speed by installing the tool hdparm and running some tests:

      Install hdparm:

      sudo apt install hdparm
      

      Get your disks' device names:

      lsblk
      

      Here, the leftmost entries unter "NAME" are your drives' names, e.g. mmcblk0 for an SD card or sdafor a hard drive.

      Test their speed with their read cache:

      sudo hdparm -tT /dev/mmcblk0   # test the sd card
      sudo hdparm -tT /dev/sda       # test the hard drive
      

      Test their speed without their read cache:

      sudo hdparm -tT --direct /dev/mmcblk0   # test the sd card
      sudo hdparm -tT --direct /dev/sda       # test the hard drive
      

      The faster one should be used for your gamelist.xml and snaps/videos.

      A 1 Reply Last reply Reply Quote 1
      • herb_fargusH
        herb_fargus administrators @almulder
        last edited by

        @almulder I keep it all on the USB because if I ever reimage I never have to scrape them again, just a basic plug and play at that point

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 2
        • A
          almulder @Clyde
          last edited by

          @clyde Thnaks for the info I will test this this week and find out. :) Just got a high end SD with fast read write and was going to OC the SD card reader. eo see what is faster or how far apart they are. :)

          ClydeC 1 Reply Last reply Reply Quote 0
          • ClydeC
            Clyde @almulder
            last edited by Clyde

            @almulder Be sure to repeat each test a couple of times (3-5 should suffice), because they tend to fluctuate a little. Also, the non-cached values should match real conditions more, since the cache shouldn't count much if the data hasn't been read before.

            Although the Pi's USB 2 ports do limit modern hard drives severely, my Samsung EVO 840 ssd beats my Toshiba Exceria Pro U3 sd card with approx. 36 MB/s to approx. 22 MB/s non-cached reading speed.

            Also consider @herb_fargus' point about portability.

            1 Reply Last reply Reply Quote 1
            • A
              almulder
              last edited by

              Just incase anyone wants my numbers: Ran each test 10 times and got the average.

              0_1536704597378_111f54f1-7274-486d-91bf-111cc6d5007e-image.png

              1 Reply Last reply Reply Quote 1
              • simpleethatS
                simpleethat
                last edited by

                I had been wondering about this, thank you!

                1 Reply Last reply Reply Quote 0
                • A
                  almulder
                  last edited by

                  Going to create a script people can run so they can test it without knowing command lines.

                  ClydeC 1 Reply Last reply Reply Quote 0
                  • ClydeC
                    Clyde @almulder
                    last edited by

                    @almulder Good idea. :)

                    1 Reply Last reply Reply Quote 0
                    • A
                      almulder
                      last edited by

                      Ok I have created the script if anyone whats to try it out.

                      https://github.com/almulder/DriveSpeedTest

                      Let me know what you think.

                      ClydeC 1 Reply Last reply Reply Quote 0
                      • ClydeC
                        Clyde @almulder
                        last edited by

                        @almulder I will, but not immediately, because I'm about to leave. Stay tuned.

                        One small thing I noticed in your README.md: In this sentence, there seems to be something missing before the word drivetest.png:

                        Anyways grab the file drivetest.sh and put it in your ./home/pi/RetroPie/retropiemenu drivetest.png and put it in your ./home/pi/RetroPie/retropiemenu/icons

                        1 Reply Last reply Reply Quote 0
                        • A
                          almulder
                          last edited by

                          Thanks it was the way they format what I type in. I modified it for easier reading.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.