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).

 

Advertisements
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

How to install Dell OMSA on Ubuntu 16.04

I use Dell OMSA to manage iDrac, and to be able to do that, I need to install it on my Ubuntu 16.04 laptop.

The instructions on the Dell OpenManage page doesn’t specify the correct key servers, so please use the following commands instead to add the correct key:

sudo gpg --keyserver hkps.pool.sks-keyservers.net --recv-key 1285491434D8786F
sudo gpg -a --export 1285491434D8786F | sudo apt-key add -

Now add the repo:

sudo echo 'deb http://linux.dell.com/repo/community/ubuntu xenial openmanage' | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list

Finally, refresh your packages and install the base package (without the web server):

sudo apt update
sudo apt install srvadmin-base srvadmin-idracadm7

If you want more than just the base package, pick any of the following:

srvadmin-all Install all OMSA components
srvadmin-base * Install only base OMSA, no web server
srvadmin-idrac * Install components to manage iDRAC
srvadmin-idrac7 * Install components to manage iDRAC7
srvadmin-idracadm8 Install components to manage iDRAC8
srvadmin-webserver * Install Web Interface
srvadmin-storageservices * Install RAID Management
dtk-scripts Install DTK
dcism Install iDRAC Service Module

Enjoy!

Sources: http://linux.dell.com/repo/community/ubuntu/

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

How to check which files are taking the most space in Google Drive

I was getting almost out of quota and had to remove many files. However, I didn’t know which files are taking the most space, as there wasn’t an obvious way to to that from the Google Drive interface! I had a LOT of files!

Just head to https://drive.google.com/drive/quota and you will find all the files sorted by size from largest to smallest:

Workspace 1_768

Enjoy!

Sources:

  1. https://lifehacker.com/find-the-files-taking-up-the-most-space-in-google-drive-1666863242
Posted in General | Tagged , , | Leave a comment