3,469 research outputs found

    A Template for Implementing Fast Lock-free Trees Using HTM

    Full text link
    Algorithms that use hardware transactional memory (HTM) must provide a software-only fallback path to guarantee progress. The design of the fallback path can have a profound impact on performance. If the fallback path is allowed to run concurrently with hardware transactions, then hardware transactions must be instrumented, adding significant overhead. Otherwise, hardware transactions must wait for any processes on the fallback path, causing concurrency bottlenecks, or move to the fallback path. We introduce an approach that combines the best of both worlds. The key idea is to use three execution paths: an HTM fast path, an HTM middle path, and a software fallback path, such that the middle path can run concurrently with each of the other two. The fast path and fallback path do not run concurrently, so the fast path incurs no instrumentation overhead. Furthermore, fast path transactions can move to the middle path instead of waiting or moving to the software path. We demonstrate our approach by producing an accelerated version of the tree update template of Brown et al., which can be used to implement fast lock-free data structures based on down-trees. We used the accelerated template to implement two lock-free trees: a binary search tree (BST), and an (a,b)-tree (a generalization of a B-tree). Experiments show that, with 72 concurrent processes, our accelerated (a,b)-tree performs between 4.0x and 4.2x as many operations per second as an implementation obtained using the original tree update template

    Methodological and terminological issues in animal-assisted interventions: An umbrella review of systematic reviews

    Get PDF
    Recently, animal-assisted interventions (AAIs), which are defined as psychological, educational, and rehabilitation support activities, have become widespread in different contexts. For many years, they have been a subject of interest in the international scientific community and are at the center of an important discussion regarding their effectiveness and the most appropriate practices for their realization. We carried out an umbrella review (UR) of systematic reviews (SRs), created for the purpose of exploring the literature and aimed at deepening the terminological and methodological aspects of AAIs. It is created by exploring the online databases PubMed, Google Scholar, and Cochrane Library. The SRs present in the high-impact indexed search engines Web of Sciences and Scopus are selected. After screening, we selected 15 SRs that met the inclusion criteria. All papers complained of the poor quality of AAIs; some considered articles containing interventions that did not always correspond to the terminology they have explored and whose operating practices were not always comparable. This stresses the need for the development and consequent diffusion of not only operational protocols, but also research protocols which provide for the homogeneous use of universally recognized terminologies, thus facilitating the study, deepening, and comparison between the numerous experiences described
    corecore