LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 03-06-2016, 09:38 PM   #1
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Rep: Reputation: 169Reputation: 169
Check read/write speeds


Check read/write speeds

Quote:
#!/bin/bash
#
# Linux Puppy 6.3.0 SiegeWorks 2016 A.P.K.
#
# CHECK READ AND WRITE SPEEDS OF DRIVES
cd /
cd /mnt/sde
date "+ %m/%d/%y %r" >> Verbatim_Speed.txt
echo >> Verbatim_Speed.txt
echo "Write speed of sde." >> Verbatim_Speed.txt
echo >> Verbatim_Speed.txt
dd if=/dev/zero of=/mnt/sde/largefile bs=8k count=10000 2>> Verbatim_Speed.txt
echo >> Verbatim_Speed.txt
# clear the memory cache
echo "Clearing memory cache" >> Verbatim_Speed.txt
echo >> Verbatim_Speed.txt
sh -c "sync && echo 3 > /proc/sys/vm/drop_caches"
echo "Read speed of sde." >> Verbatim_Speed.txt
echo >> Verbatim_Speed.txt
dd if=/mnt/sde/largefile of=/dev/null bs=8k 2>> Verbatim_Speed.txt
echo >> Verbatim_Speed.txt
mv Verbatim_Speed.txt /root/Scripts
rm largefile
 
Old 03-08-2016, 09:59 AM   #2
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
I am curious as to why the read speed is no better using 3.0 ports?

Quote:
Using USB 2.0

Write speed of Toshiba.
10000+0 records in
10000+0 records out
81920000 bytes (82 MB) copied, 1.60252 s, 51.1 MB/s
Read speed of Toshiba.
10000+0 records in
10000+0 records out
81920000 bytes (82 MB) copied, 2.30256 s, 35.6 MB/s

Using USB 3.0

Write speed of Toshiba.
10000+0 records in
10000+0 records out
81920000 bytes (82 MB) copied, 0.142398 s, 575 MB/s
Read speed of Toshiba.
10000+0 records in
10000+0 records out
81920000 bytes (82 MB) copied, 2.13294 s, 38.4 MB/s
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Big gap between read and write speeds of a pen drive coltson Linux - Hardware 7 01-02-2016 10:08 PM
Read Write access to a iso9660 filesystem..mount a .iso image as read write ceazar123 Linux - Newbie 16 09-01-2010 09:07 AM
Read Write access to a iso9660 filesystem..mount a .iso image as read write ceazar123 Linux - General 2 08-26-2010 03:32 PM
finding cd/dvdrw read/write speeds? slinky2004 Linux - General 4 01-08-2006 09:32 PM
DVD write/read speed check excel28 Linux - Hardware 4 12-08-2003 12:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 03:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration