• Title/Summary/Keyword: Data races

Search Result 75, Processing Time 0.022 seconds

A Detection Tool of First Races in OpenMP Programs with Directives (OpenMP 디렉티브 프로그램의 최초경합 탐지를 위한 도구)

  • Kang, Mun-Hye;Ha, Ok-Kyoon;Jun, Yong-Kee
    • Journal of KIISE:Computer Systems and Theory
    • /
    • v.37 no.1
    • /
    • pp.1-7
    • /
    • 2010
  • Detecting data races is important for debugging programs with OpenMP directives, because races result in unintended non-deterministic executions of the program. It is especially important to detect the first data races to occur for effective debugging, because the removal of such races may make other affected races disappear or appear. The previous tools for race detecting can not guarantee that detected races are the first races to occur. This paper suggests a tool what detects the first races to occur on the program with nested parallelism using the two-pass on-the-fly technique. To show functionality of this tool, we empirically compare with the previous tools using a set of the synthetic programs with OpenMP directives.

A Framework for Detecting Data Races in Weapon Software (무기체계 소프트웨어의 자료경합을 탐지하기 위한 프레임워크)

  • Oh, Jin-Woo;Choi, Eu-Teum;Jun, Yong-Kee
    • IEMEK Journal of Embedded Systems and Applications
    • /
    • v.13 no.6
    • /
    • pp.305-312
    • /
    • 2018
  • Software has been used to develop many functions of the modern weapon systems which has a high mission criticality. Weapon system software must consider multi-threaded processing to satisfy growing performance requirement. However, developing multi-threaded programs are difficult because of concurrency faults, such as unintended data races. Especially, it is important to prepare analysis for debugging the data races, because the weapon system software may cause personal injury. In this paper, we present an efficient framework of analysis, called ConDeWS, which is designed to determine the scope of dynamic analysis through using the result of static analysis and fault analysis. As a result of applying the implemented framework to the target software, we have detected unintended data races that were not detected in the static analysis.

A Study on Filtering Techniques for Dynamic Analysis of Data Races in Multi-threaded Programs

  • Ha, Ok-Kyoon;Yoo, Hongseok
    • Journal of the Korea Society of Computer and Information
    • /
    • v.22 no.11
    • /
    • pp.1-7
    • /
    • 2017
  • In this paper, we introduce three monitoring filtering techniques which reduce the overheads of dynamic data race detection. It is well known that detecting data races dynamically in multi-threaded programs is quite hard and troublesome task, because the dynamic detection techniques need to monitor all execution of a multi-threaded program and to analyse every conflicting memory and thread operations in the program. Thus, the main drawback of the dynamic analysis for detecting data races is the heavy additional time and space overheads for running the program. For the practicality, we also empirically compare the efficiency of three monitoring filtering techniques. The results using OpenMP benchmarks show that the filtering techniques are practical for dynamic data race detection, since they reduce the average runtime overhead to under 10% of that of the pure detection.

A Post-mortem Detection Tool of First Races to Occur in Shared-Memory Programs with Nested Parallelism (내포병렬성을 가진 공유메모리 프로그램에서 최초경합의 수행후 탐지도구)

  • Kang, Mun-Hye;Sim, Gab-Sig
    • Journal of the Korea Society of Computer and Information
    • /
    • v.19 no.4
    • /
    • pp.17-24
    • /
    • 2014
  • Detecting data races is important for debugging shared-memory programs with nested parallelism, because races result in unintended non-deterministic executions of the program. It is especially important to detect the first occurred data races for effective debugging, because the removal of such races may make other affected races disappear or appear. Previous dynamic detection tools for first race detecting can not guarantee that detected races are unaffected races. Also, the tools does not consider the nesting levels or need support of other techniques. This paper suggests a post-mortem tool which collects candidate accesses during program execution and then detects the first races to occur on the program after execution. This technique is efficient, because it guarantees that first races reported by analyzing a nesting level are the races that occur first at the level, and does not require more analyses to the higher nesting levels than the current level.

An Improving Method of Restructuring Parallel Programs for Data Race Detection

  • Ha, Keum-Sook;Lee, Sung woo;Yoo, Kee-Young
    • Proceedings of the IEEK Conference
    • /
    • 2000.07b
    • /
    • pp.715-718
    • /
    • 2000
  • Although shared memory parallel programs are designed to be deterministic both in their final results and intermediate states, the races that occur when different processes access a common memory location in an order not guaranteed by synchronization could result in unintended non-deterministic executions of the program. So, Detecting races, particularly first data races, is important for debugging explicit shared memory parallel programs. It is possible that all data races reported by other on-the-fly algorithms would disappear once the first races were removed. To detect races parallel programs with nested loops and inter-thread coordination, it must guarantee the order of synchronization operations in an execution instance. In this paper, we propose an improved restructuring method that guarantee ordering execution instance and preserve the semantics of original program. This method requires O(np) time and (s + up) space, where n is the number of total operations, s is the number of synchronization operations and p is the number of parallelism in the execution. Also, this method makes on-the-fly detection of parallel program with nested loops and inter-thread coordination more easily in space and time complexity.

  • PDF

Detection and Classification of Bearing Flaking Defects by Using Kullback Discrimination Information (KDI)

  • Kim, Tae-Gu;Takabumi Fukuda;Hisaji Shimizu
    • International Journal of Safety
    • /
    • v.1 no.1
    • /
    • pp.28-35
    • /
    • 2002
  • Kullback Discrimination Information (KDI) is one of the pattern recognition methods. KDI defined as a measure of the mutual dissimilarity computed between two time series was studied for detection and classification of bearing flaking on outer-race and inner-races. To model the damages, the bearings in normal condition, outer-race flaking condition and inner-races flaking condition were provided. The vibration sensor was attached by the bearing housing. This produced the total 25 pieces of data each condition, and we chose the standard data and measure of distance between standard and tested data. It is difficult to detect the flaking because similar pulses come out when balls pass the defection point. The detection and classification method for inner and outer races are defected by KDI and nearest neighbor classification rule is proposed and its high performance is also shown.

Analysis of Horse Races: Prediction of Winning Horses in Horse Races Using Statistical Models (서울 경마 경기 우승마 예측 모형 연구)

  • Choe, Hyemin;Hwang, Nayoung;Hwang, Chankyoung;Song, Jongwoo
    • The Korean Journal of Applied Statistics
    • /
    • v.28 no.6
    • /
    • pp.1133-1146
    • /
    • 2015
  • The Horse race industry has the largest proportion of the domestic legal gambling industry. However, there is limited statistical analysis on horse races versus other sports. We propose prediction models for winning horses in horse races using data mining techniques such as logistic regression, linear regression, and random forest. Horse races data are from the Korea Racing Authority and we use horse racing reports, information of racehorses, jockeys, and horse trainers. We consider two models based on ranks and time records. The analysis results show that prediction of ranks is affected by information on racehorses, number of wins of racehorses and jockeys. We place wagers for the last month of races based on our prediction models that produce serious profits.

On-the-fly Monitoring Tool for Detecting Data Races in Multithread Programs (멀티 스레드 프로그램의 자료경합 탐지를 위한 수행 중 감시 도구)

  • Paeng, Bong-Jun;Park, Se-Won;Kuh, In-Bon;Ha, Ok-Kyoon;Jun, Yong-Kee
    • Journal of KIISE
    • /
    • v.42 no.2
    • /
    • pp.155-161
    • /
    • 2015
  • It is difficult and cumbersome to figure out whether a multithread program runs with concurrency bugs, such as data races and atomicity violations, because there are many possible executions of the program and a lot of the defects are hard to reproduce. Hence, monitoring techniques for collecting and analyzing the information from program execution, such as thread executions, memory accesses, and synchronization information, are important to locate data races for debugging multithread programs. This paper presents an efficient and practical monitoring tool, called VcTrace, that analyzes the partial ordering of concurrent threads and events during an execution of the program based on the vector clock system. Empirical results on C/C++ benchmarks using Pthreads show that VcTrace is a sound and practical tool for on-the-fly data race detection as well as for analyzing multithread programs.

Research on Dyeing Crafts of Chinese Indigo Dyed Designs (중국 남인염포 염색 공예 연구)

  • Lee, Min-Jeong;Sohn, Hee-Soon
    • The Research Journal of the Costume Culture
    • /
    • v.19 no.2
    • /
    • pp.376-388
    • /
    • 2011
  • The purpose of this study is to examine the types and characteristics of Chinese indigo dyed designs performed until today in private houses of Chinese minority races and to examine the modern value of traditional dyeing crafts of minority races by investigating the cases of utilizing modern private Chinese indigo dyed designs. As the research methodology for theoretical study about the history of Chinese traditional pattern dyeing, the origin, types and characteristics of Chinese indigo dyed designs, the preceding research data, photo data, and Internet data were utilized, and for the empirical research on Chinese traditional dyeing techniques and the cases of utilizing today Chinese indigo dyed designs, the on-site survey on Guizhou and Yunnan was conducted during February and March 2008 and the data were collected and analyzed. Based on the results of this research, it was found that Chinese indigo dyed designs represented Chinese traditional pattern dyeing, which was inherited and developed mainly in Chinese minority races and Chinese. It could be seen that according to geographical distribution and characteristics of each race, the types and characteristics of dyeing techniques were formed, which are classified into the batik of the Miao of Guizhou in the Chinese southwestern region, the tie-dyeing of Bai of Yunnan, and Chinese blue calico(resist printing) of Chinese private houses in the Hunan and Huseo regions, and these represent the three typical Chinese dyeing techniques today. Based on the results of empirical research on the utilizing cases, focusing on the traditional living handicrafts of Chinese minority races, traditional cultural articles, and artworks, the modern values such as practical, cultural, and artistic values of Chinese indigo dyed designs could be rediscovered.

Fine mapping of rice bacterial leaf blight resistance loci to major Korean races of Xoo (Xanthomonas oryzae)

  • Lee, Myung-Chul;Choi, Yu-Mi;Lee, Sukyeung;Yoon, Hyemyeong;Oh, Sejong
    • Proceedings of the Plant Resources Society of Korea Conference
    • /
    • 2018.10a
    • /
    • pp.73-73
    • /
    • 2018
  • Bacterial leaf blight(BLB), caused by X. oryzae pv. oryzae(Xoo), is one of the most destructive diseases of rice due to its high epidemic potential. Understanding BLB resistance at a genetic level is important to further improve the rice breeding that provides one of the best approaches to control BLB disease. In the present investigation, a collection of 192 accessions was used in the genome-wide association study (GWAS) for BLB resistance loci against four Korean races of Xoo that were represented by the prevailing BLB isolates under Xoo differential system. A total of 192 accessions of rice germplasm were selected on the basis of the bioassay using four isolated races of Xoo such as K1, K2, K3 and K3a. The selected accessions was used to prepare 384-plex genotyping by sequencing (GBS) libraries and Illumina HiSeq 2000 paired- end read was used for GBS sequencing. GWAS was conducted using T ASSEL 5.0. The T ASSEL program uses a mixed linear model (MLM). T he results of the bioassay using a selected set of 192 accessions showed that a large number of accessions (93.75%) were resistant to K1 race, while the least number of accessions (34.37%) resisted K3a race. For races K2 and K3, the resistant germplasm proportion remained between 66.67 to 70.83%. T he genotypic data produced SNP matrix for a total of 293,379 SNPs. After imputation the missing data was removed, which exhibited 34,724 SNPs for association analysis. GWAS results showed strong signals of association at a threshold of [-log10(P-value)] more than5 (K1 and K2) and more than4 (K3 and K3a) for nine of the 39 SNPs, which are plausible candidate loci of resistance genes. T hese SNP loci were positioned on rice chromosome 2, 9, and 11 for K1 and K2 races, whereas on chromosome 4, 6, 11, and 12 for K3 and K3a races. The significant loci detected have also been illustrated, NBS-LRR type disease resistance protein, SNARE domain containing protein, Histone deacetylase 19, NADP-dependent oxidoreductase, and other expressed and unknown proteins. Our results provide a better understanding of the distribution of genetic variation of BLB resistance to Korean pathogen races and breeding of resistant rice.

  • PDF