• Title/Summary/Keyword: Computer Instruction Method

Search Result 181, Processing Time 0.043 seconds

MSR_FSB_FREQ 제어를 이용한 윈도우 운영체제에 실시간 처리 방법 (Real-time Processing Method for Windows OS Using MSR_FSB_FREQ Control)

  • 김종진;이상길;이철훈
    • 한국멀티미디어학회논문지
    • /
    • 제24권1호
    • /
    • pp.95-105
    • /
    • 2021
  • In the case of laptops and tablet PC's that replace desktop, it uses the Windows operating system to provide various functions depending on operating system dependency, the Windows operating system does not support real-time processing because it uses multi-level feedback queue scheduling that extends round-robin scheduling. Also, since the initial value of Local APIC Counter can not be obtained from the Windows 8, the real-time processing function provided through the existing RTiK does not work. In this paper, we calculate Local APIC Counter value by using MSR_FSB_FREQ register to support real-time processing function on tablet PC's. We designed and implemented RTiK+, which provides real-time processing function to guarantee the periodicity by calculating the operation time of accurate timer. In order to verify and evaluate the performance of the implemented the RTiK+, the period was measured by using the Read Time-Stamp Counter(RDTSC) instruction and it was confirmed that it operates normally at 1ms and 0.1ms period.

분기 동시 수행을 이용한 단일 칩 멀티프로세서의 성능 개선 (Performance Improvement of Single Chip Multiprocessor using Concurrent Branch Execution)

  • 이승렬;김준식;최재혁;최상방
    • 대한전자공학회논문지SD
    • /
    • 제44권2호
    • /
    • pp.61-71
    • /
    • 2007
  • 프로세서 성능향상에 일반적으로 이용되어 오던 명령어 수준의 병렬성은 이제 그 한계를 드러내고 있다. 명령어 수준의 병렬성을 이용하는데 장애가 되는 요인 중에 하나는 분기문에 의한 제어 흐름의 변화이다. 단일 칩 멀티프로세서는 쓰레드 수준의 병렬성을 이용하는 프로세서이다. 그러나 다중 쓰레드를 고려하지 않고 작성된 프로그램을 수행하는 경우에는 단일 칩 멀티프로세서의 성능을 최대한 사용할 수 없는 단점이 있다. 이와 같은 두 가지 성능 저하 요인을 극복하기 위해 본 논문에서는 다중 경로 수행 기법을 단일 칩 멀티프로세서에 적용한 분기 동시 수행 기법을 제안한다. 제안된 방법에서는 유휴 중인 프로세서를 이용하여 조건 분기의 두 흐름을 모두 수행하게 한다. 이를 통하여 분기문에 의한 제어 흐름이 끊기는 것을 막고 유휴 시간을 줄여서 프로세서의 효율을 높일 수 있다. 시뮬레이션을 통하여 본 논문에서 제시한 분기 동시 수행의 효과를 분석한 결과 분기 동시 수행으로 약 20%의 유휴 시간이 감소하였고, 분기 예측 성공률은 최대 10% 향상 되었다. 전체적으로 일반적인 단일 칩 멀티프로세서에 비해 최대 39%의 성능 향상을 이루었고, 슈퍼스칼라 프로세서에 비해 최대 27%의 성능 향상을 이루었다.

Cross-architecture Binary Function Similarity Detection based on Composite Feature Model

  • Xiaonan Li;Guimin Zhang;Qingbao Li;Ping Zhang;Zhifeng Chen;Jinjin Liu;Shudan Yue
    • KSII Transactions on Internet and Information Systems (TIIS)
    • /
    • 제17권8호
    • /
    • pp.2101-2123
    • /
    • 2023
  • Recent studies have shown that the neural network-based binary code similarity detection technology performs well in vulnerability mining, plagiarism detection, and malicious code analysis. However, existing cross-architecture methods still suffer from insufficient feature characterization and low discrimination accuracy. To address these issues, this paper proposes a cross-architecture binary function similarity detection method based on composite feature model (SDCFM). Firstly, the binary function is converted into vector representation according to the proposed composite feature model, which is composed of instruction statistical features, control flow graph structural features, and application program interface calling behavioral features. Then, the composite features are embedded by the proposed hierarchical embedding network based on a graph neural network. In which, the block-level features and the function-level features are processed separately and finally fused into the embedding. In addition, to make the trained model more accurate and stable, our method utilizes the embeddings of predecessor nodes to modify the node embedding in the iterative updating process of the graph neural network. To assess the effectiveness of composite feature model, we contrast SDCFM with the state of art method on benchmark datasets. The experimental results show that SDCFM has good performance both on the area under the curve in the binary function similarity detection task and the vulnerable candidate function ranking in vulnerability search task.

CamShift 알고리즘의 Hand Tracking 기법을 응용한 Hand Motion 입력 장치 시스템 (The input device system with hand motion using hand tracking technique of CamShift algorithm)

  • 전유나;김수지;이창훈;김형률;이성구
    • 디지털콘텐츠학회 논문지
    • /
    • 제16권1호
    • /
    • pp.157-164
    • /
    • 2015
  • 기존의 대표적인 입력장치는 키보드, 마우스 등으로 한정적이었으나 최근 들어 사용자들의 다양한 요구에 따라 새로운 형태의 입력장치들이 개발되는 추세이다. 이러한 추세에 맞춰 특수한 device 없이 영상의 hand motion을 분석해 명령을 부여하는 새로운 형태의 입력장치를 제안한다. Cam-Shift 기법으로 skin color 영역을 이진화 하여 tracking 한 후, labeling을 통해 분리한 손가락 영역과 손 중심점과의 각도를 동서남북으로 구분해 counting하여 손동작을 인식한다. 손동작에 대한 입력은 맨손에 배경처리를 하지 않은 경우 약 76.8%의 낮은 인식률을 보였으나, 붉은색 장갑을 착용하고 배경을 지정해 줄 경우 잡영 제거의 영향으로 인식률이 90.2%까지 향상된다.

수퍼스칼라 프로세서의 해석적 모델 및 성능 분석 (Analytical Models and their Performance Analysis of Superscalar Processors)

  • 김학준;김선모;최상방
    • 한국정보과학회논문지:시스템및이론
    • /
    • 제26권7호
    • /
    • pp.847-862
    • /
    • 1999
  • 본 논문에서는 유한버퍼의(finite-buffered) 동기화된(synchronous) 큐잉모델(queueing model)을 이용하여 명령어들간의 병렬성, 분기명령의 빈도수, 분기예측(branch prediction)의 정확도, 캐쉬미스 등의 파라미터들을 고려하여 프로세서의 명령어 실행율을 예측하며 캐쉬의 성능과 파이프라인 성능간의 관계를 분석할 수 있는 새로운 해석적 모델을 제안하였다. 해석적 모델은 모델의 타당성을 검증하기 위해서 시뮬레이션을 수행하여 얻은 결과와 비교하였다. 해석적 모델과 시뮬레이션을 비교한 결과 대부분 10% 오차 내에서 일치하였다. 본 연구를 통하여 얻은 해석적 모델을 사용하면 시뮬레이션에서는 드러나지 않는 성능제약의 원인에 대한 명확한 규명이 가능하기 때문에 성능향상을 위한 설계자료를 얻을 수 있으며, 시스템 성능 밸런스를 위한 캐쉬와 비순차이슈 파이프라인 성능간의 관계에 대한 정확한 분석이 가능하다.Abstract This research presents a novel analytic model to predict the instruction execution rate of superscalar processors using the queuing model with finite-buffer size and synchronous operation mode. The proposed model is also able to analyze the performance relationship between cache and pipeline. The proposed model takes into account various kinds of architectural parameters such as instruction-level parallelism, branch probability, the accuracy of branch prediction, cache miss, and etc.. To prove the correctness of the model, we performed extensive simulations and compared the results with the analytic model. Simulation results showed that the proposed model can estimate the average execution rate accurately within 10% error compared to simulation results. The proposed model can explain the causes of performance bottleneck which cannot be uncovered by the simulation method only. The model is also able to show the effect of the cache miss on the performance of out-of-order issue superscalar processors, which can provide an valuable information in designing a balanced system.

명령어 연관성 분석을 통한 가변 입력 gshare 예측기 (Variable Input Gshare Predictor based on Interrelationship Analysis of Instructions)

  • 곽종욱
    • 한국컴퓨터정보학회논문지
    • /
    • 제13권4호
    • /
    • pp.19-30
    • /
    • 2008
  • 분기 히스토리는 분기 예측기의 주된 입력 요소로 사용된다. 따라서 적절한 분기 히스토리의 사용은 분기 예측의 정확도 향상에 큰 영향을 미친다. 본 논문에서는 분기 예측의 정확도를 향상시키기 위한 방법의 하나로, 명령어의 연관성 분석을 통한 선별적 분기 히스토리 사용 기법을 제안한다. 우선, 본 논문에서는 명령어의 연관성을 분석하는 세 가지 서로 다른 알고리즘을 제안한다. 제안된 기법은 명령어의 레지스터 쓰기 연산에 기반하는 방법, 분기 명령어의 참조 레지스터에 기반하는 방법, 그리고 이들 두 가지 방식을 상호 결합하는 방법이다. 또한, 제안된 세 가지 알고리즘의 실질적 구현을 위해 이를 적용할 수 있는 가변 입력 gshare 예측기를 제안한다. 본 논문에서는 모의실험을 통해 세 가지 알고리즘의 특징 및 장단점을 비교 분석한다. 특히, 기존의 고정된 입력을 사용하는 방식과 비교하여 제안된 기법의 성능 향상의 정도를 분석하며, 사전 프로파일링을 통해 얻어진 최적의 입력에 대한 성능상의 차이도 소개한다.

  • PDF

스크래치를 이용한 프로그래밍 수업 효과 (The Effect of a Programming Class Using Scratch)

  • 조성환;송정범;김성식;백성혜
    • 정보교육학회논문지
    • /
    • 제12권4호
    • /
    • pp.375-384
    • /
    • 2008
  • 프로그래밍 교육이 고차원적 사고능력을 함양시켜주는 교육임에도 불구하고, 기존의 프로그래밍 교육은 기본 문법과 구조를 이해하고 프로그램 사용법을 익히는데 너무 많은 노력을 요구하여 학습자들로 하여금 프로그래밍 학습을 기피하거나 포기하도록 만들었다. 이러한 문제점을 극복하기위해 본 연구에서는 배우기 쉽고, 직관적인 교육용 프로그래밍 언어(EPL) '스크래치'를 이용하여 중학생을 대상으로 게임제작 프로그래밍 수업을 12주에 걸쳐 실시하였다. 이와 더불어 교수방법에 있어서 메타인지 사고를 활성화하기위해 '자기질문' 방식을 가미한 시범-실습 수업모형을 활용하였다. 연구결과 스크래치를 이용한 게임제작 프로그래밍 수업은 메타인지에 있어 남녀 모두에게 긍정적 효과가 있음을 확인하였다. 하지만, 자기효능감에 있어서는 여학생 집단에 긍정적 영향을 주지 못했다.

  • PDF

일부 간호대학생의 인지 양식에 따른 CAI 학습후 학습동기와 학습평가 비교 (Instructional Motivation and Response According to Cognitive Style after Application of Computer Assisted Instruction(CAI) for College Student Nurses)

  • 성명숙;이정인;노승옥
    • 기본간호학회지
    • /
    • 제8권2호
    • /
    • pp.220-233
    • /
    • 2001
  • Purpose: This study was done to identity the degree of instructional motivation and response after application of CAI in the student nurses' fundamental nursing course. Method: The subjects of this study were 77 student nurses and the data was collected from October, 7th to 17th in 1997. The examination sheet for cognitive style and a questionnaire to evaluate the degree of instructional motivation were used to collect data. Result : 1) It was found that the degree of instructional motivation of the learner was higher in the CAI class. (134.23/170) 2) After CAI, the learners expressed relatively higher satisfaction in understanding, interest, degree of difficulty, number of problems, icons, and extra information. 3) It was found that 53 learners(68.8%) were field independent-cognitive learners and 24 learners(31.2%) were field dependent-cognitive learners. 4) Among the instructional responses according to the cognitive behavior of the learner after CAI, there were significant differences in reasons for understanding the computer program, interest in the computer program class, and the number of students assigned to each computer. 5) There were no significant difference between cognitive style and instructional motivation. Conclusion: The CAI effect for nursing students fundamental nursing course have been positive evaluated. CAI in nursing education is becoming very available and needs to develop effective CAI and use not only fundamental nursing course but also another nursing education programs.

  • PDF

e-Learning을 이용한 미숙아 어머니 교육 프로그램 개발 및 평가 (Development and Evaluation of an e-Learning Program for Mothers of Premature Infants)

  • 이내영;김영혜
    • 대한간호학회지
    • /
    • 제38권1호
    • /
    • pp.152-160
    • /
    • 2008
  • Purpose: It has been attempted to support mother of premature infants by providing information of premature infant care using e-Learning because premature infants need continuous care from birth to after discharge. Method: The e-Learning Program for mother of premature was developed with Xpert, Namo web editor, Adobe Photoshop, and PowerPoint and applied for 4 weeks from 4 to 30 September 2006. Result: 1) We found that the contents of information which premature infants' need when being in the hospital and after discharge were the definition of a premature infant, orientation of NICU, care of premature infants, care of premature infants' common diseases, the connection of healthcare resources, exchange of information, and the management of rearing stress. 2) The program content consisted of cause of premature birth, comparison to full-term baby, physiology character, orientation of NICU, common health problems, follow up care, infection control, feeding, normal development physically and mentally, weaning method, and vaccination. Conclusion: Considering the results, this program for mother of premature is a useful means to provide premature-care information to mothers. This information can be readily accessible and can be varied and complex enough to be able to help mothers to the information and assistance they require.

사이버 호스피스 전문 간호 교육 과정에서의 학습참여와 운영평가 (Evaluation of Participation & Management on the Cyber Hospice Specialist Program)

  • 김분한;최지은
    • 성인간호학회지
    • /
    • 제15권1호
    • /
    • pp.105-115
    • /
    • 2003
  • Purpose: The research purposes analyzed the study participation and lecture evaluation of applicants in the cyber hospice specialist education course to find problems of nurse education application on the web. Method: Study participants were 125 nurses for participation and 68nurses for lecture evaluation. The data was analysed by descriptive statistics. Result: The results obtained from this study were as follows 1) The residence distribution of study participants was spread out across the nation. Equal distribution of education was accomplished without a difference among provinces. 2) The average study duration in the study participation was about one hour and a quarter minutes a week, and number of access to lecture notes was 65.8 times. But in a discussion room and a cooperative room, the system using rate was very low, so we considered the idea to come up with a more effective application way. 3) The participant's lecture evaluation of cyber education were generally satisfied about the quality of lecture, time, contents etc. Conclusion: This study shows the possible implication for nursing fields using a web-based learning program for reeducation in a variety of fields, so nursing cyber application can be considered to come up with this more effective method.

  • PDF