Review VPS Vultr (DataCenter SGP Singapore)

root@vps-vultr-sgp:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Virtual CPU 82d9ed4018dd
stepping : 4
microcode : 0x1
cpu MHz : 2600.000
cache size : 16384 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm invpcid_single kaiser fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f clwb avx512cd xsaveopt arat
bugs :
bogomips : 5200.00
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

root@vps-vultr-sgp:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 981M 0 981M 0% /dev
tmpfs 201M 3.1M 197M 2% /run
/dev/vda1 40G 2.9G 35G 8% /
tmpfs 1001M 0 1001M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1001M 0 1001M 0% /sys/fs/cgroup
tmpfs 201M 0 201M 0% /run/user/0

root@vps-vultr-sgp:~# free -m
total used free shared buff/cache available
Mem: 2000 46 483 3 1470 1783
Swap: 0 0 0

root@vps-vultr-sgp:~# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.3175 s, 463 MB/s

Ping Time from Indonesia (ID) to VPS Vultr Singapore (SGP)

C:\Users\nikko>ping vps-vultr-sgp

Pinging vps-vultr-sgp with 32 bytes of data:
Reply from vps-vultr-sgp: bytes=32 time=23ms TTL=52
Reply from vps-vultr-sgp: bytes=32 time=23ms TTL=52
Reply from vps-vultr-sgp: bytes=32 time=23ms TTL=52
Reply from vps-vultr-sgp: bytes=32 time=23ms TTL=52

Ping statistics for vps-vultr-sgp:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 23ms, Maximum = 23ms, Average = 23ms

root@vps-vultr-sgp:~# openssl speed -evp aes-256-cbc
Doing aes-256-cbc for 3s on 16 size blocks: 47713602 aes-256-cbc's in 2.99s
Doing aes-256-cbc for 3s on 64 size blocks: 12469083 aes-256-cbc's in 3.00s
Doing aes-256-cbc for 3s on 256 size blocks: 3152641 aes-256-cbc's in 3.00s
Doing aes-256-cbc for 3s on 1024 size blocks: 783699 aes-256-cbc's in 3.00s
Doing aes-256-cbc for 3s on 8192 size blocks: 99034 aes-256-cbc's in 2.99s
OpenSSL 1.0.2g 1 Mar 2016
built on: reproducible build, date unspecified
options:bn(64,64) rc4(16x,int) des(idx,cisc,16,int) aes(partial) blowfish(idx)
compiler: cc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack -Wall -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-256-cbc 255323.62k 266007.10k 269025.37k 267502.59k 271333.29k

 

Iklan

Review VPS DigitalOcean (DataCenter SGP Singapore)

root@vps-do-sgp:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 79
model name : Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
stepping : 1
microcode : 0x1
cpu MHz : 2199.998
cache size : 30720 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single retpoline kaiser tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt arat
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 4399.99
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

root@vps-do-sgp:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 994M 0 994M 0% /dev
tmpfs 201M 8.2M 192M 5% /run
/dev/vda1 49G 2.1G 47G 5% /
tmpfs 1001M 0 1001M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1001M 0 1001M 0% /sys/fs/cgroup
/dev/vda15 105M 3.4M 101M 4% /boot/efi
tmpfs 201M 0 201M 0% /run/user/0

root@vps-do-sgp:~# free -m
total used free shared buff/cache available
Mem: 2000 47 488 8 1463 1775
Swap: 0 0 0

root@vps-do-sgp:~# dd if=/dev/zero of=test bs=64k count=16k conv =fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.43805 s, 440 MB/s

Ping Time from Indonesia (ID) to VPS DigitalOcean Singapore (SGP)

C:\Users\nikko>ping vps-do-sgp

Pinging vps-do-sgp with 32 bytes of data:
Reply from vps-do-sgp: bytes=32 time=28ms TTL=53
Reply from vps-do-sgp: bytes=32 time=27ms TTL=53
Reply from vps-do-sgp: bytes=32 time=28ms TTL=53
Reply from vps-do-sgp: bytes=32 time=27ms TTL=53

Ping statistics for vps-do-sgp:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 27ms, Maximum = 28ms, Average = 27ms

root@vps-do-sgp:~# openssl speed -evp aes-256-cbc
Doing aes-256-cbc for 3s on 16 size blocks: 68903487 aes-256-cbc's in 2.98s
Doing aes-256-cbc for 3s on 64 size blocks: 18092540 aes-256-cbc's in 2.99s
Doing aes-256-cbc for 3s on 256 size blocks: 4609717 aes-256-cbc's in 2.99s
Doing aes-256-cbc for 3s on 1024 size blocks: 1156865 aes-256-cbc's in 2.99s
Doing aes-256-cbc for 3s on 8192 size blocks: 145809 aes-256-cbc's in 2.99s
OpenSSL 1.0.2g 1 Mar 2016
built on: reproducible build, date unspecified
options:bn(64,64) rc4(16x,int) des(idx,cisc,16,int) aes(partial) blowfish(idx)
compiler: cc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack -Wall -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-256-cbc 369951.61k 387265.07k 394678.11k 396197.24k 399487.40k

Review VPS OVH (DataCenter SGP Singapore)

root@vps-ovh-sgp:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 61
model name : Intel Core Processor (Broadwell)
stepping : 2
microcode : 0x1
cpu MHz : 3504.000
cache size : 4096 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2ap ic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single retpoline kaiser tpr_shadow vnmi flexpriority e pt vpid fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap xs aveopt arat
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 7008.00
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

root@vps-ovh-sgp:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 478M 0 478M 0% /dev
tmpfs 97M 3.0M 94M 4% /run
/dev/sda1 30G 2.0G 28G 7% /
tmpfs 485M 0 485M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 485M 0 485M 0% /sys/fs/cgroup
tmpfs 97M 0 97M 0% /run/user/0

root@vps-ovh-sgp:~# free -m
total used free shared buff/cache available
Mem: 968 44 73 3 849 764
Swap: 0 0 0

root@vps-ovh-sgp:~# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.47866 s, 433 MB/s

Ping Time from Indonesia (ID) to VPS OVH Singapore (SGP)

C:\Users\nikko>ping vps-ovh-sgp

Pinging vps-ovh-sgp with 32 bytes of data:
Reply from vps-ovh-sgp: bytes=32 time=28ms TTL=47
Reply from vps-ovh-sgp: bytes=32 time=29ms TTL=47
Reply from vps-ovh-sgp: bytes=32 time=28ms TTL=47
Reply from vps-ovh-sgp: bytes=32 time=28ms TTL=47

Ping statistics for vps-ovh-sgp:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 28ms, Maximum = 29ms, Average = 28ms

root@vps-ovh-sgp:~# openssl speed -evp aes-256-cbc
Doing aes-256-cbc for 3s on 16 size blocks: 137897584 aes-256-cbc's in 3.00s
Doing aes-256-cbc for 3s on 64 size blocks: 38020212 aes-256-cbc's in 3.00s
Doing aes-256-cbc for 3s on 256 size blocks: 9909417 aes-256-cbc's in 3.00s
Doing aes-256-cbc for 3s on 1024 size blocks: 2471491 aes-256-cbc's in 3.00s
Doing aes-256-cbc for 3s on 8192 size blocks: 308127 aes-256-cbc's in 3.00s
OpenSSL 1.0.2g 1 Mar 2016
built on: reproducible build, date unspecified
options:bn(64,64) rc4(16x,int) des(idx,cisc,16,int) aes(partial) blowfish(idx)
compiler: cc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack -Wall -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-256-cbc 735453.78k 811097.86k 845603.58k 843602.26k 841392.13k

Ubah Resolusi Video

Terkadang mengubah file dari “.mkv” menjadi “.avi” itu hasil filenya menjadi sangat besar. Maka dengan menggunakan ffmpeg kita dapat mengubah resolusi video tanpa mengurani kualitas dari video tersebut.

# apt-get install ffmpeg

# ffmpeg -i input.avi -ab 56 -ar 22050 -b 500 -r 20 -s 640×480 output.avi

=======
ffmpeg : call the program
-i : input file
-ab : sets audio bitrate of the output file, in kbit/s
-ar : sets audio sampling rate of the output file, in Hz
-r : sets frame rate of the output file, in Hz (this value will effect the final size the most, so play with it to get the best result for yourself)
-s : sets resolution with your video
bigfish1.avi : output file name

Potong Video

# apt-get install ffmpeg

# ffmpeg -i input.flv -ss 00:00:00 -t 00:01:23 output.flv

=======
ffmpeg : call program
-i : input file video
-ss : this is where to start cut (hour:minute:second)
-t : this is where to end cut (hour:minute:second)
grun1.glv : output filename