"Well, looks like i managed to find out what's the problem. I formated back my HDD to NTFS with 32K allocation unit size. The CPU usage is much much better now, it's around 12% when I'm downloading a 43GB file. So yeah, if you have the same problem try this, you can also try to set the size lower, I think it should work too.
Thanks for everyone, who replied my questions."
"Use the command ncdu. It is a console program to display disc usage. It has a ncurses GUI. I usually run ncdu -x <some folder>, the x switch is there to not cross filesystem boundaries.
ncdu man page"
"+1 for @jamzed terse answer, however the OP might need some explanation:
ps | grep "[d]jango"
Using that regex you are launching a process which its ps string will not match itself, since the regexp matches "django" and not "[d]jango". That way you'll exclude the process that has the string "[d]jango" which in this case is grep; The same can be applied to pgrep, egrep, awk, sed, etc... whichever command you used to define the regex.
"
"Via UUIDs
UUID stands for Universally Unique Identifier and is a mechanism to give each filesystem a unique identifier. All Linux filesystems support filesystem UUIDs; FAT and NTFS filesystems don't support true UUIDs, but are still listed in /dev/disk/by-uuid with a unique identifier:
$ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Oct 16 10:27 2d781b26-0285-421a-b9d0-d4a0d3b55680 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 16 10:27 31f8eb0d-612b-4805-835e-0e6d8b8c5591 -> ../../sda7
lrwxrwxrwx 1 root root 10 Oct 16 10:27 3FC2-3DDB -> ../../sda6
lrwxrwxrwx 1 root root 10 Oct 16 10:27 5090093f-e023-4a93-b2b6-8a9568dd23dc -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 16 10:27 912c7844-5430-4eea-b55c-e23f8959a8ee -> ../../sda5
lrwxrwxrwx 1 root root 10 Oct 16 10:27 B0DC1977DC193954 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Oct 16 10:27 bae98338-ec29-4beb-aacf-107e44599b2e -> ../../sdb2
"
"Success....
Disabled the following protocols on both devices:
- Large Send Offload
- Receive side scaling
Re-ran the LANtest software & got results of approx 1sec to transfer the 10x1mb files. Also tried copying some "proper" data - approx 1.5Gb took about 20 secs.
Thanks for the assistance."
"To install bumblebee in Ubuntu 14.04, run these commands in terminal
sudo apt-get install bumblebee bumblebee-nvidia primus nvidia-331"
It's pretty easy to add your own variant with additional custom packages to debootstrap.
The debootstrap configuration/runtime scripts are located in /usr/share/debootstrap/scripts
. Let's create an allmybase
variant which includes everything in minbase
along with the packages htop
and traceroute
.
Open /usr/share/debootstrap/scripts/precise
in your editor.
/usr/share/debootstrap/scripts/gutsy
; if you want to affect only a specific release, break the link and make it a copy of the gutsy script instead.Around line 22, find the line beginning with variants
and add your custom variant at the end:
variants - buildd fakechroot minbase allmybase
Find the work_out_debs()
function around line 34, and look at the default settings for the base
variable for your "base" variant (here, minbase
):
elif doing_variant fakechroot || doing_variant minbase; then base="apt"
Append your own variant with custom packages at the end of the function:
elif doing_variant allmybase; then base="apt htop traceroute"
Save, exit, and test it out with the --print-debs
"simulation" flag, e.g.
sudo debootstrap --print-debs --variant=allmybase precise /tmp/prec-chroot
htop
and traceroute
packages will be included in the allmybase chroot.
/dev/sda4 /media/Data ntfs defaults,umask=0022,uid=YourUIDHere,gid=YourGIDHere 0 0
Ubuntu 10.10 Sound issue / no headphone sound / Asus G50vt
libQtXml.so.4.4.3