Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 30 Sep 2014, 18:29
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
F3: a utility for testing USB sticks
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
neerajkolte


Joined: 10 Feb 2014
Posts: 271
Location: Pune, India.

PostPosted: Tue 08 Jul 2014, 10:13    Post subject:  F3: a utility for testing USB sticks
Subject description: Linux alternative to h2testw. Also gives read/write speeds.
 

Hi,

A friend of mine bought a cheap unbranded USB stick, and wanted me to check if it has all 8Gbs it promised.

I know I can check it by using h2testw on windows. But I wanted to do it in linux.

I searched and found f3


In my Fatdog64-631, I just unzipped it, opened the unzipped f3-master directory, pressed ` on keyboard to open terminal there, typed
Code:
make linux
Done.

Now whenever I want to check a USB stick, I go into the unzipped directory, open terminal there, type
Code:
# ./f3write /mnt/sdb1
to start write test.
And after it completes
Code:
# ./f3read /mnt/sdb1
to start the read test.

My friend's USB stick was OK.
Gave 7.5mb/sec write speed and 20mb/sec read speed.

I also tested it in windows by h2testw, same result.


I am new to linux. I hope somebody makes PET of it and hopefully a GUI. Very Happy
f3-master.zip
Description 
zip

 Download 
Filename  f3-master.zip 
Filesize  22.9 KB 
Downloaded  39 Time(s) 

_________________
"One of my most productive days was throwing away 1000 lines of code."— Ken Thompson
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4245
Location: Gatineau (Qc), Canada

PostPosted: Tue 08 Jul 2014, 16:45    Post subject:  

This is wish-granting day! Smile

Enjoy!

musher0
f3-3.0.pet
Description  At the console prompt, simply type f3read | f3write /mnt/<media>.
The docs are in /usr/share/doc/f3.
pet

 Download 
Filename  f3-3.0.pet 
Filesize  29.92 KB 
Downloaded  52 Time(s) 

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
neerajkolte


Joined: 10 Feb 2014
Posts: 271
Location: Pune, India.

PostPosted: Wed 09 Jul 2014, 00:11    Post subject:  

Thanks musher0,

I will test it when I get back home from work.

_________________
"One of my most productive days was throwing away 1000 lines of code."— Ken Thompson
Back to top
View user's profile Send private message 
neerajkolte


Joined: 10 Feb 2014
Posts: 271
Location: Pune, India.

PostPosted: Wed 09 Jul 2014, 00:48    Post subject:  

can this be done
Code:
f3write /mnt/sdb1 && f3read /mnt/sdb1
I heard the double ampersand lets the first command to complete before second command while the pipe | executes both commands at the same time.
I may be wrong.


Might be useful to make simple no fuss point and click gui.

_________________
"One of my most productive days was throwing away 1000 lines of code."— Ken Thompson
Back to top
View user's profile Send private message 
Jasper


Joined: 25 Apr 2010
Posts: 1135
Location: England

PostPosted: Wed 09 Jul 2014, 04:34    Post subject:  

Hi the first contributors (et al),

Thanks guys.

I made the pet into an sfs and tried it on the ext4 formatted partition of the Flash Stick I use most of the time.

From the screen shot, it can be seen that I used "&&" in the command and that the average write speed was computed as 7.92 MB/s and read speed as 29.1 MB/s. The whole test took about 10 minutes and thus it seemed to be thorough and comprehensive.

However,

(1) The stick manufacturer only claimed speeds of 6.3 MB/s and 22.0 MB/s respectively. I believe the results vary widely with particular respect to the sizes and types of files used.

(2) The four files made during the test were not automatically deleted at any time after the test completed . I will delete them manually.
Shot.png
 Description   
 Filesize   95.04 KB
 Viewed   238 Time(s)

Shot.png

Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3158
Location: Mer méditerrannée (1 kms°)

PostPosted: Thu 10 Jul 2014, 11:53    Post subject: bravo Musher0  

will add the information in your topic 'vérifier la santé de mes clés USBs' in the french community forum.
_________________
Puppy, il ne lui manque que la parole !
Back to top
View user's profile Send private message Yahoo Messenger 
rcrsn51


Joined: 05 Sep 2006
Posts: 9148
Location: Stratford, Ontario

PostPosted: Thu 10 Jul 2014, 15:11    Post subject:  

Here is a GUI version. Look for it in the System menu or in a submenu.

F3 could also be used as a non-destructive "bleaching" tool for flash drives because it writes dummy data over all the empty parts of the drive.

[Edit] PET moved to here.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0762s ][ Queries: 12 (0.0226s) ][ GZIP on ]