SpliceZerocopySystem optimization using dual pipe schemes

Andy Victor

Informasi Dasar

213110014
302.23
Karya Ilmiah - Thesis (S2) - Reference

ABSTRAKSI: Proses transfer data merupakan salah satu fungsi pemrosesan data yang dilakukan oleh sistem operasi.Secara tradisional proses ini cukup banyak mengkonsumsi penggunaan sumber dayaMemory dan CPU pada sistem komputer. Hal ini disebabkan karena adanya proses berulang yang tidak diperlukan yaitu CPU Copy yang dilakukan dua kali oleh CPU. Prinsip utama dari zerocopy adalah mencegah sepenuhnya atau setidaknya meminimalisiroperasi penyalinan data yang dilakukan oleh CPU ketika sedang melakukan prosesI/O datadidalam kernel seperti antrian jaringan dan diskdrive penyimpanan. Dari berbagaipendekatan teknik zerocopy yang ada, maka penulis fokus terhadap Splice System Calls.Splice system callmencegah proses penyalinan data dari kernel space ke user space dan juga sebaliknya. Membaca dari offset tertentu dari file input dan menuliskannya ke buffer pipe pada kernel space.

Pengujian dilakukan terhadap file tunggal dengan 10 jenis file dan ukuran yang berbeda. Proses transfer data dengan jenis file, nama file dan ukuran file yang sama akan dilakukan dan diuji dengan 2 metode yang berbeda yaitu dengan metode splice dan splice dual pipe. Konsumsi waktu dari setiap proses dengan metode yang berbeda akan dicatat dan kemudian dibandingkan.Proses pengujian untuk setiap file dan setiap metode dilakukan sebanyak 10 kali, sehingga proses transfer satu buah file akan menghasilkan 20 data pengujian dengan rincian 10 kali untuk splice dan 10 kali untuk splice dual pipe. Hasil eksperimen menunjukkan percepatan konsumsi waktu yang lebih baik dibandingkan dengan metode yang sudah ada. Data rate rata-rata yang dihasilkan oleh Splice Dual Pipes adalah 418.56 byte per milidetik, ini lebih cepat daripada Splice yang hanya menghasilkan 65.60 byte per milidetik

Kata Kunci : Transfer Data, Zero Copy, Splice System Calls, Splice Dual Pipe System CallsABSTRACT: The process of transferring data is one function of the data processing performed by the operating system. Traditionally, due to the unnecessary iterative process or CPU copy performed twice by the CPU, this process consumes relatively a lot of memory and CPU resources on a computer system.

The main principle of zerocopy is to prevent or to minimize the operation of copying data performed by the CPU during I/O data processing in the kernel such as during network queuing and diskdrive storing. Nowadays, various approaches to zerocopy are carried out andthis thesis focuses on the Splice System Calls. This Splice System Call prevents copying all data from user space to kernel space and vice versa. It reads data from the specified offset from the input file and writes them to the pipe buffer in the kernel space.

The tests were conducted on a single file with 10 types of files with different sizes. The process of transferring data of the same file, name and size was tested usingtwo different methods, namely splice system calls and splice dual pipe system calls. The durations of each process with different methods were recorded and then compared. Each file using each method was tested 10 times; thus, each file had 20 pieces of files, 10pieces using splice and 10pieces using splice dual pipe. The experiments showedthat using Splice Dual Pipes System Calls the transferring process was quicker than using the Splice System Calls methods.The average data rate generated by splice dual pipes was418.56 bytes per millisecond. This was faster than the Splice which wasonly 65.60 bytes per millisecond.

Keyword: Transferring data, Zero Copy, Splice System Calls, Splice Dual Pipe System Calls

Subjek

Information Media
 

Katalog

SpliceZerocopySystem optimization using dual pipe schemes
 
 
Indonesia

Sirkulasi

Rp. 0
Rp. 0
Tidak

Pengarang

Andy Victor
Perorangan
Maman Abdurahman, Fazmah Arif Yulianto
 

Penerbit

Universitas Telkom
Bandung
2014

Koleksi

Kompetensi

 

Download / Flippingbook

 

Ulasan

Belum ada ulasan yang diberikan
anda harus sign-in untuk memberikan ulasan ke katalog ini