Mehic.info

Clearing Linux disk cache

For experimentation, it’s very convenient to be able to drop the disk cache. For this, we can use the special file /proc/sys/vm/drop_caches. By writing 3 to it, we can clear most of the disk cache: $ free -m total used free shared buffers cached Mem: 1504 1471 33 0 36 801 -/+ buffers/cache: 633 871 […]

Read more

Socket::SetIpTos in NS-3 ver.3.26

One of the changes between ns-3 ver 3.25 and ver 3.26 is that now it is possible to set TOS value to the address. Yes, you read it right, TOS value to the address. Official Doxygen states following: https://www.nsnam.org/docs/release/3.26/models/html/sockets-api.html The native sockets API for ns-3 provides two public methods (of the Socket base class): void […]

Read more

20. Jazz Fest Sarajevo 2016

PROGRAM 2. novembar BOSANSKI KULTURNI CENTAR – double bill / dva koncerta, jedna ulaznica 20.00 Bugge Wesseltoft’s New Conception Of Jazz Marthe Lea, saksofon Oddrun Lilja Jonsdottir, gitara Sanskriti Shrestha, tabla Siv Øyun Kjenstad, bubnjevi Bugge Wesseltoft, klavijature 22.00 Rob Mazurek Sao Paulo Underground Rob Mazurek, kornet, elektronika Guilherme Granado, klavijature, vokal Mauricio Takara, udaraljke, […]

Read more

Partition resize after dd copy

When you copy a partition at the byte level (with dd or similar tools), you are copying the entire filesystem which will have the same size even in a newer, larger HDD. Therefore, it is necessery just to execute resize2fs /dev/sdX where /dev/sdX is the name of your partition. resize2fs will grow the filesystem when […]

Read more