• Title/Summary/Keyword: 리눅스 환경

Search Result 442, Processing Time 0.035 seconds

A Performance Improvement of Linux TCP Networking by Data Structure Reuse (자료 구조 재사용을 이용한 리눅스 TCP 네트워킹 성능 개선)

  • Kim, Seokkoo;Chung, Kyusik
    • KIPS Transactions on Computer and Communication Systems
    • /
    • v.3 no.8
    • /
    • pp.261-270
    • /
    • 2014
  • As Internet traffic increases recently, much effort has been put on improving the performance of a web server. In addition to hardware side solutions such as replacement by high-end hardware or expansion of the number of servers, there are software side solutions to improve performance. Recent studies on these software side solutions have been actively performed. In this paper, we identify performance degradation problems occurring in a conventional TCP networking reception process and propose a way to solve them. We improve performance by combining three kinds of existing methods for Linux Networking Performance Improvement and two kinds of newly proposed methods in this paper. The three existing methods include 1) an allocation method of a packet flow to a core in a multi-core environment, 2) ITR(Interrupt Throttle Rate) method to control excessive interrupt requests, and 3) sk_buff data structure recycling. The two newly proposed methods are fd data structure recycling and epoll_event data structure recycling. Through experiments in a web server environment, we verify the effect of our two proposed methods and its combination with the three existing methods for performance improvement, respectively. We use three kinds of web servers: a simple web server, Lighttpd generally used in Linux, and Apache. In a simple web server environment, fd data structure recycling and epoll_event data structure recycling bring out performance improvement by about 7 % and 6%, respectively. If they are combined with the three existing methods, performance is improved by up to 40% in total. In a Lighttpd and an Apache web server environment, the combination of five methods brings out performance improvement by up to 36% and 20% in total, respectively.

A memory protection method for application programs on the Android operating system (안드로이드에서 어플리케이션의 메모리 보호를 위한 연구)

  • Kim, Dong-ryul;Moon, Jong-sub
    • Journal of Internet Computing and Services
    • /
    • v.17 no.6
    • /
    • pp.93-101
    • /
    • 2016
  • As the Android smart phones become more popular, applications that handle users' personal data such as IDs or passwords and those that handle data directly related to companies' income such as in-game items are also increasing. Despite the need for such information to be protected, it can be modified by malicious users or leaked by attackers on the Android. The reason that this happens is because debugging functions of the Linux, base of the Android, are abused. If an application uses debugging functions, it can access the virtual memory of other applications. To prevent such abuse, access controls should be reinforced. However, these functions have been incorporated into Android O.S from its Linux base in unmodified form. In this paper, based on an analysis of both existing memory access functions and the Android environment, we proposes a function that verifies thread group ID and then protects against illegal use to reinforce access control. We conducted experiments to verify that the proposed method effectively reinforces access control. To do that, we made a simple application and modified data of the experimental application by using well-established memory editing applications. Under the existing Android environment, the memory editor applications could modify our application's data, but, after incorporating our changes on the same Android Operating System, it could not.

Design of a Linux-based Collaborative System Using WebDAV (WebDAV를 이용한 리눅스 협업지원 시스템의 설계)

  • Shin Won-Joon;Yu Yang-Woo;Park Yang-Soo;Lee Myung-Joon
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2006.06d
    • /
    • pp.241-243
    • /
    • 2006
  • 업무환경이 다양해지면서 사람들은 원거리에 있는 사람과 협업을 하는 경우가 많아지고 있다. 원거리의 사람들과 협업을 하기 위한 컴퓨터 도구로서 협업지원 시스템을 사용하고 있다. 웹데브는 웹상의 분산 저작활동을 지원하기 위한 표준프로토콜로서 원거리에 있는 사람들 간에 웹상의 자원을 편집하고 관리할 수 있도록 해주는 HTTP/1.1의 확장이다. 협업지원 시스템을 구성할 때 웹데브를 사용한다면 효과적인 시스템을 구성할 수 있을 것이다. 현재 개발된 협업지원시스템 중에서 리눅스 기반으로 동작 협업시스템은 부재한 상대이다. 본 논문에서는 리눅스 기반에서 웹데브 프로토콜을 이용하여 동작하는 협업시스템의 설계에 대하여 기술한다. 본 시스템의 서버는 웹데브 서버로 널리 사용되고 있는 Jakarta Slide 서버를 확장하여 협업을 지원할 수 있는 구조로 설계 하였다. 서버에는 협업작업을 용의하게 할 수 있는 팀작업장을 지원하며 또한 개인적인 자료를 관리할 수 있는 개인작업장을 지원하는 기능을 지원하게 된다. 클라이언트는 사용자가 서버에 등록한 자원을 관리 하는 기능과 팀원들 간의 상호작용을 원활하게 지원하는 사용자 인터페이스를 설계 하였다. 또한 협업지원 시스템을 사용하는 사용자가 새로운 팀작업장을 만들 수 있는 기능을 구성하고 다른 사용자를 초대하거나 다른 팀작업장에 참가요청을 할 수 있는 기능을 설계하였다.

  • PDF

Implementation of Memory Copy Reduction Scheme for Multimedia Service in Embedded Linux Kernel (내장형 리눅스 커널에서 멀티미디어 서비스를 위한 메모리 복사 감소 기법의 구현)

  • Kim, Jeong-Won
    • Journal of Korea Multimedia Society
    • /
    • v.7 no.8
    • /
    • pp.1058-1065
    • /
    • 2004
  • Embedded system is widely used in various applications from simple monitor to a set-top box with CPU, memory and hard disk drives. Specially, embedded OS is ported in moveable or small machinery since it ordinarily transmits multimedia data. In this paper, we propose Null copy scheme on the embedded linux system for multimedia service, which can reduce memory copy overhead from user address space to kernel one, and vice versa. Since embedded system for networked multimedia service has low level computing power as well as memory, the Null copy scheme can provide more improved QoS. Our image transmission experiment results on embedded linux target board(CPU utilization an Deadline miss rates) installed a web camera have shown that the proposed scheme can increase fast response and lower CPU overhead.

  • PDF

A Fast Booting Scheme of Linux for Embedded System (임베디드 시스템을 위한 리눅스의 빠른 부팅 기법)

  • Park, Seong-Ho;Shine, Kwang-Mu;Kim, Young-Ju
    • Journal of the Korea Institute of Information and Communication Engineering
    • /
    • v.10 no.12
    • /
    • pp.2173-2180
    • /
    • 2006
  • Linux has peculiarities of safety, flexibility, and open source. and Linux supports various hardware platforms. But because general Linux was designed for high performance H/W, Linux has several points to support for embedded system with limited resource. Specially, a main point is booting time that is spent to tens of second. In this paper, we purpose a fast booting scheme of Linux for Embedded System and estimate a performance of scheme purposed through realized prototype. Specially, to reduce booting time in environment of embedded system, we optimize boot loader, kernel and root file system. As a result, boot time reduce 28 second to 11 second in HBE-EMPOS II.

The development of RTOS technique for designing the controller of DSC/NBDP system (DSC/NBDP시스템의 제어기설계를 위한 실시간 운영체제 기술 개발)

  • 이헌택
    • Journal of the Korea Institute of Information and Communication Engineering
    • /
    • v.8 no.3
    • /
    • pp.547-553
    • /
    • 2004
  • Linux is the one of various RTOS, also embedded linux has being studied with focus on technical stability and commercial utilities. In this paper, the technical trial was discussed on the development of real-time operating system that provides real time capability and extends the network communications ability and would be applied to the maritime mobile communication system through analysis the embedded linux kernel. Some techniques for Analyzing the embedded linux kernel and designing the target board, making the kernel image and porting the kernel are summarized in this paper.

Dynamic Memory Measurement Scheme to Support Memory Resource Isolation for Container-based Virtual Machines (컨테이너 기반의 가상머신 시스템에서 메모리 자원 아이솔레이션을 위한 동적 메모리 사용량 측정 기법)

  • Kim, Hyo-Jin;Noh, Sam-H.
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2007.06b
    • /
    • pp.333-338
    • /
    • 2007
  • 시스템 가상머신 환경은 높은 하드웨어 효율성과 높은 보안을 요구하는 시스템에서 그 사용이 점차 늘어나고 있다. 최근 많이 알려진 하이퍼바이저 가상머신 시스템은 높은 아이솔레이션과 보안성을 보장하나 각 게스트 운영체제 별로 운영체제 이미지를 가지기 때문에 하드웨어 효율성이 떨어지는 반면, 컨테이너 기반 가상머신 시스템은 운영체제 이미지의 공유로 인하여 높은 자원 효율성과 확장성을 가진다. 그러나 메모리 자원의 아이솔레이션에 대하여 취약점을 갖는 문제점을 안고 있다. 본 논문에서는 컨테이너 기반 가상머신 시스템에서 동적으로 각 가상머신별로 메모리 사용량 증가에 따른 페이지 히트율-곡선(Hit-Ratio-Curve)을 측정하였다. 이 곡선을 관찰해 보면 각 가상머신의 메모리 필요량을 알 수 있으며 이를 기반으로 메모리 자원을 할당하게 될 경우 효과적으로 메모리 자원의 아이솔레이션을 제공할 수 있게 된다. 본 논문에서는 대표적인 컨테이너 기반 가상머신인 리눅스 VServer가 적용되어 있는 리눅스 2.6.17 커널에 직접 구현하였으며, Lmbench 및 리눅스 커널 컴파일 등을 통하여 오버헤드를 측정하였고 $1.6{\sim}7.2%$의 적은 오버헤드로 이를 측정할 수 있음을 확인하였다.

  • PDF

The Implementation of Personal Audio Recorder Service based on Embedded Linux (임베디드 리눅스 기반의 개인 오디오 레코더 서비스 구현)

  • Kim, Do-Hyung;Lee, Kyung-Hee;Lee, Cheol-Hoon
    • The KIPS Transactions:PartD
    • /
    • v.15D no.2
    • /
    • pp.257-262
    • /
    • 2008
  • This paper describes the implementations of the application service based on embedded Linux; Personal Audio Recorder (PAR) which uses WiBro network for data communications and CDMA network for voice communications. At PAR, when PAR client starts voice recording on a dual-mode terminal, the CDMA voice data of caller and callee is transmitted to storage server located in the Internet through WiBro network. Then, PAR server stores voice data on storage server according to the call number and call time. In case of shortage of storage space on terminal, PAR makes user to store voice data. And, PAR can search a catalog of stored data on server and play the specific content.

The Development of Embedded Server and Zigbee Sensor Board for Home Automation Systems (홈오토메이션 시스템 구축을 위한 임베디드 서버 및 Zigbee 센서 보드 개발)

  • Kim, Se-Young;Kim, Dae-Jin
    • Proceedings of the Korean Institute of Information and Commucation Sciences Conference
    • /
    • 2008.05a
    • /
    • pp.886-889
    • /
    • 2008
  • Today, digital technology can be possible U-city, U-healthcare because network and wireless communication have developed very rapidly and widely. In this paper we implemented embedded server and Zigbee sensor boards. For the development, Implemented home server platform has a Intel PXA255 processor, web server, USB camera and TFT LCD. The other hand, Zigbee sensor boards are attached the AVR microprocessor and the several sensors to get the environment variables.

  • PDF

Comparison of Directory Structures for SAN Based Very Large File Systems (SAN 환경 대용량 파일 시스템을 위한 디렉토리 구조 비교)

  • 김신우;이용규
    • The Journal of Society for e-Business Studies
    • /
    • v.9 no.1
    • /
    • pp.83-104
    • /
    • 2004
  • Recently, information systems that require storage and retrieval of huge amount of data are becoming used widely. Accordingly, research efforts have been made to develop Linux cluster file systems in the SAN environment in which clients themselves can manage metadata and access data directly. Also a semi-flat directory structure based on extendible hashing has been proposed to support fast retrieval of files[1]. In this research, we have designed and implemented the semi-flat extendible hash directory under the Linux system. In order to evaluate the practicality of the directory, we have also implemented the B+-tree based directory and experimented the performance. According to the performance comparisons, the extendible hash directory has the better performance at insert, delete, and search operations. On the other hand, the B+-tree directory is better at sorting files.

  • PDF