Benchmarking SanDisk Extreme PRO USB Drive

Just received a 128 GB SanDisk Extreme PRO USB 3.1 Solid State Flash Drive. I wanted to check whether its speed really matches what’s advertised of up to 420 MB/s for read and 380 MB/s for write.

Benchmark Details

Computer Used: Lenovo Thinkpad X1 Carbon

OS: Ubuntu 16.04.3

Benchmark Tool: Standard Gnome Disks Utility

Features Tested: Read Speed, Write Speed and Random Access

Testing Samples:

  • 100 samples, 100 MB each for read and write tests
  • 1000 samples for access time

Workspace 1_786.png

Results

Average Read Rate: 423 MB/s

Average Write Rate: 188 MB/s

Conclusion

The SanDisk Extreme PRO USB Drive Read speed is 420 MB/s as advertised, however, the write speed is much lower than the promised 380 MB/s. It’s a quite fast USB drive, especially for read, but the write speed is about half what SanDisk claims (although still very fast for a USB drive).

 

Posted in Bechmark, Linux | Tagged , , | Leave a comment

How to mount SSHFS from Ubuntu

A more secure alternative to NFS or SAMBA would be to use SSHFS.

Besides encrypting the data stream, it has many benefits, among which:

  1. Firewall-friendly, since it uses standard SSH ports
  2. Supports PKI

To mount an SSH filesystem from Ubuntu, do the following:

  1. sudo apt install sshfs
  2. sudo mkdir /MountPoint
  3. sudo sshfs username@server:/RemoteFileSystem /MountPoint

Note: You don’t need to use sudo to mount via sshfs, just make sure you have permissions on the local mount point.

Sources:

  1. https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh
Posted in Linux | Tagged , , , , , | 1 Comment

Force uninstall Symantec Endpoint Protection from Windows without password

I figured out it would be much easier to just use the CleanWipe utility from here: https://symwisedownload.symantec.com//resources/sites/SYMWISE/content/live/TUTORIALS/124000/HOWTO124983/en_US/CleanWipe3897.zip?__gda__=1517979685_a3d644edaa4bd0b810351c5a6cab2aa6

Enjoy!

Source: https://support.symantec.com/en_US/article.HOWTO124983.html

Posted in Linux, Windows | Tagged , , , , , , | Leave a comment

How to use the ip command to bring up/down the network interface on Linux

The ip command is replacing ifconfig, which is getting deprecated and some distros have already removed it.

To bring a network interface down, simply run the following:

sudo ip link set enp0s25 down

To bring it back up:

sudo ip link set enp0s25 up

where enp0s25 is my network adapter. By the way, its TAB auto-completion is fantastic!

Enjoy!

Posted in Linux | Tagged , , , , | Leave a comment

How to globally change a Gnome/Unity schema setting for your desktop

Simply do the following:

  1. Edit the attribute you need to change in a specific schema inside /usr/share/glib-2.0/schemas/[your_schema_name], e.g.
    sudo vi /usr/share/glib-2.0/schemas/com.canonical.canonical.indicator.session.gschema.xml
  2. Change the value you need, in my case I wanted to disable the user-show-menu key, so I changed it from the default value of true to false
  3. After you’re done, just run:
    glib-compile-schemas /usr/share/glib-2.0/schemas

Enjoy!

Sources:

  1. http://www.techytalk.info/customize-default-desktop-environment-settings-gnome-centric-linux-distributions/
  2. https://wiki.gnome.org/HowDoI/GSettings
  3. https://developer.gnome.org/platform-overview/stable/tech-gsettings.html.ru
Posted in Linux | Tagged , , , , , , | 2 Comments