7 research outputs found

    PrestandaförbÀttrad JavaScript med utvidgning av WASM och CUDA

    No full text
    JavaScript is today the largest language based on usage with regard to web development. There is, therefore, a great incentive to make the language perform at its best and allow applications to take advantage of this. Despite this, there is yet to be a well-established method of taking full advantage of the GPU and the great potential of heterogeneous computing via JavaScript. This study aims to explore the performance potential of a theoretical GPU binding for heterogeneous computing with JavaScript. It does this by comparing and exploring it alongside an already budding technology in WebAssembly that provides a JavaScript binding for the exploitation of more optimized programming languages such as C/C++. As such the study compared the execution times of a set of well-known algorithms representative of common general computing through a custom benchmark suite in JavaScript/TypeScript. The benchmark measured three different channels for each algorithm, one for each technology: JavaScript (the bar for performance), WebAssembly in conjunction with C/C++, and CUDA. The study showed uncertain and mostly inconsistent results for the performance of WebAssembly as compared to JavaScript. But in general, the results showed a slight performance boost for WebAssembly depending on the algorithm. Previous research, however, shows substantial reliable improvement through WebAssembly and the results of this study could therefore be representative of limitations in the optimization of the study’s WebAssembly benchmark. CUDA on the other hand showed extremely promising results with great speedup in conjunction with heavier computational load. With this said, whilst the result showcased promising speedup for CUDA, the CUDA implementation in this project was built through custom third-party bindings to each executable. As such the results for CUDA were highly theoretical but show great potential as a lower bound for what performance can be expected from a fully-fledged binding to JS for heterogeneous computing. As such the study concludes that whilst the CUDA results are highly theoretical and might not be fully born out in reality, the integration of a heterogeneous computing tool is worth investigating, researching, and developing further.JavaScript Ă€r idag det största sprĂ„ket givet anvĂ€ndarbas inom webbutvecklingsomrĂ„det. Det finns dĂ€rför mycket goda anledningar att sĂ€kerstĂ€lla att sprĂ„ket presterar bra och pĂ„ ett optimalt sĂ€tt kan anvĂ€nda sig av hĂ„rdvara som tillhandages. Trots detta saknas det idag ett exemplariskt sĂ€tt att interagera och anvĂ€nda hela grafikkortet samt andra hĂ„rvarumodeller som innefattas av heterogeneous computing i JavaScript. Denna studie undersöker dĂ€rför potentiella prestandaförbĂ€ttringar som kan erhĂ„llas av att bygga vidare pĂ„ detta. Detta görs i unison med den kompatibla miljön WebAssembly vilket lĂ„ter lĂ„gnivĂ„sprĂ„k sĂ„som C/C++ köras av JavaScript. SĂ„ledes Ă€r mĂ„let med denna studie att jĂ€mföra exikveringstiden pĂ„ ett utvalt antal algoritmer via en konstuerad "benchmark suite", skriven i JavaScript/TypeScript. För varje algoritm gjordes tre olika mĂ€tningar, en för varje teknologi: JavaScript (initiell utgĂ„ngspunkt), WebAssembly skrivet i C/C++, och CUDA. Resultaten mellan JavaScript och WebAssemly visade sig i majoriteten av fallen vara statistiskt osĂ€kra och svĂ„rtolkade. Med detta sagt indikerade resultaten en svag förbĂ€ttring till WebAssemblys fördel för vissa algoritmer. Tidigare forskning inom detta omrĂ„de indikerar Ă„ andra sidan en mycket tydligare förbĂ€ttring för WebAssembly. CUDA till skillnad frĂ„n WebAssemly visade vĂ€ldigt tydliga och lovande resultat med hög speedup dĂ„ indata var av större karaktĂ€r. Det ska dĂ€remot klargöras att CUDA implementationen för detta projekt anvĂ€nde sig av tredjeparts anslutningar till varje algorithm. SĂ„ledes kan resultaten för CUDA endast presenteras pĂ„ en spekulativ nivĂ„ men visar goda uppbackning för vad som skulle kunna vara ett vĂ€rstafall av implementationen. Avslutningsvis kan det dĂ€rför konstateras att trots att de givna resultaten för CUDA Ă€r pĂ„ en spekulativ nivĂ„ och inte fullt utvecklade Ă€nnu sĂ„ finns det goda anledningar att tillsĂ€tta mer resurser inom detta i syfte att fortsĂ€tta forskning och vidare utveckling av omrĂ„det

    PrestandaförbÀttrad JavaScript med utvidgning av WASM och CUDA

    No full text
    JavaScript is today the largest language based on usage with regard to web development. There is, therefore, a great incentive to make the language perform at its best and allow applications to take advantage of this. Despite this, there is yet to be a well-established method of taking full advantage of the GPU and the great potential of heterogeneous computing via JavaScript. This study aims to explore the performance potential of a theoretical GPU binding for heterogeneous computing with JavaScript. It does this by comparing and exploring it alongside an already budding technology in WebAssembly that provides a JavaScript binding for the exploitation of more optimized programming languages such as C/C++. As such the study compared the execution times of a set of well-known algorithms representative of common general computing through a custom benchmark suite in JavaScript/TypeScript. The benchmark measured three different channels for each algorithm, one for each technology: JavaScript (the bar for performance), WebAssembly in conjunction with C/C++, and CUDA. The study showed uncertain and mostly inconsistent results for the performance of WebAssembly as compared to JavaScript. But in general, the results showed a slight performance boost for WebAssembly depending on the algorithm. Previous research, however, shows substantial reliable improvement through WebAssembly and the results of this study could therefore be representative of limitations in the optimization of the study’s WebAssembly benchmark. CUDA on the other hand showed extremely promising results with great speedup in conjunction with heavier computational load. With this said, whilst the result showcased promising speedup for CUDA, the CUDA implementation in this project was built through custom third-party bindings to each executable. As such the results for CUDA were highly theoretical but show great potential as a lower bound for what performance can be expected from a fully-fledged binding to JS for heterogeneous computing. As such the study concludes that whilst the CUDA results are highly theoretical and might not be fully born out in reality, the integration of a heterogeneous computing tool is worth investigating, researching, and developing further.JavaScript Ă€r idag det största sprĂ„ket givet anvĂ€ndarbas inom webbutvecklingsomrĂ„det. Det finns dĂ€rför mycket goda anledningar att sĂ€kerstĂ€lla att sprĂ„ket presterar bra och pĂ„ ett optimalt sĂ€tt kan anvĂ€nda sig av hĂ„rdvara som tillhandages. Trots detta saknas det idag ett exemplariskt sĂ€tt att interagera och anvĂ€nda hela grafikkortet samt andra hĂ„rvarumodeller som innefattas av heterogeneous computing i JavaScript. Denna studie undersöker dĂ€rför potentiella prestandaförbĂ€ttringar som kan erhĂ„llas av att bygga vidare pĂ„ detta. Detta görs i unison med den kompatibla miljön WebAssembly vilket lĂ„ter lĂ„gnivĂ„sprĂ„k sĂ„som C/C++ köras av JavaScript. SĂ„ledes Ă€r mĂ„let med denna studie att jĂ€mföra exikveringstiden pĂ„ ett utvalt antal algoritmer via en konstuerad "benchmark suite", skriven i JavaScript/TypeScript. För varje algoritm gjordes tre olika mĂ€tningar, en för varje teknologi: JavaScript (initiell utgĂ„ngspunkt), WebAssembly skrivet i C/C++, och CUDA. Resultaten mellan JavaScript och WebAssemly visade sig i majoriteten av fallen vara statistiskt osĂ€kra och svĂ„rtolkade. Med detta sagt indikerade resultaten en svag förbĂ€ttring till WebAssemblys fördel för vissa algoritmer. Tidigare forskning inom detta omrĂ„de indikerar Ă„ andra sidan en mycket tydligare förbĂ€ttring för WebAssembly. CUDA till skillnad frĂ„n WebAssemly visade vĂ€ldigt tydliga och lovande resultat med hög speedup dĂ„ indata var av större karaktĂ€r. Det ska dĂ€remot klargöras att CUDA implementationen för detta projekt anvĂ€nde sig av tredjeparts anslutningar till varje algorithm. SĂ„ledes kan resultaten för CUDA endast presenteras pĂ„ en spekulativ nivĂ„ men visar goda uppbackning för vad som skulle kunna vara ett vĂ€rstafall av implementationen. Avslutningsvis kan det dĂ€rför konstateras att trots att de givna resultaten för CUDA Ă€r pĂ„ en spekulativ nivĂ„ och inte fullt utvecklade Ă€nnu sĂ„ finns det goda anledningar att tillsĂ€tta mer resurser inom detta i syfte att fortsĂ€tta forskning och vidare utveckling av omrĂ„det

    Bakkassen – A Practical Study of the Development of a Web Application With Focus on Usability and Trust

    No full text
    The report deals with the experiences and results that arose during the development of the webapplication Bakkassen, a web shop where visitors can order pre-portioned ingredients to bread andpastries. The main objective of the report is to answer a question about how to design a usable andtrustworthy web application. A market plan and a survey was made to determine the target audienceand what features that should be implemented on the web application. The agile work methodologyScrum was used during the development and the work resulted in an easy understandable interfacewith colors chosen with care. The study shows an example of how a usable and trustworthy webapplication can be developed, but because of the limited scope of the study it is hard to draw anygeneral conclusions.Rapporten behandlar de erfarenheter och resultat som uppkom under utvecklingen avwebbapplikationen Bakkassen, en e-butik dÀr besökaren kan bestÀlla hem portionsförpackadeingredienser till bröd och bakverk. Rapporten syftar till att besvara frÄgestÀllningen om hur enanvÀndbar och förtroendeingivande webbapplikation kan utformas. För att bestÀmma mÄlgrupp ochvilka funktioner som skulle implementeras gjordes ett förarbete i form av marknadsplan ochenkÀtundersökning. Utvecklingen följde den agila utvecklingsmetodiken Scrum och resultatet var enwebbapplikationen vars struktur Àmnade att underlÀtta för anvÀndaren genom ett lÀttöverskÄdligtgrÀnssnitt och fÀrger som valdes med omsorg. Studien visar ett exempel pÄ hur en anvÀndbar ochförtroendeingivande webbapplikation kan utvecklas, men nÄgra generella slutsatser Àr svÄra att drapÄ grund av studiens begrÀnsade omfattning

    Bakkassen – A Practical Study of the Development of a Web Application With Focus on Usability and Trust

    No full text
    The report deals with the experiences and results that arose during the development of the webapplication Bakkassen, a web shop where visitors can order pre-portioned ingredients to bread andpastries. The main objective of the report is to answer a question about how to design a usable andtrustworthy web application. A market plan and a survey was made to determine the target audienceand what features that should be implemented on the web application. The agile work methodologyScrum was used during the development and the work resulted in an easy understandable interfacewith colors chosen with care. The study shows an example of how a usable and trustworthy webapplication can be developed, but because of the limited scope of the study it is hard to draw anygeneral conclusions.Rapporten behandlar de erfarenheter och resultat som uppkom under utvecklingen avwebbapplikationen Bakkassen, en e-butik dÀr besökaren kan bestÀlla hem portionsförpackadeingredienser till bröd och bakverk. Rapporten syftar till att besvara frÄgestÀllningen om hur enanvÀndbar och förtroendeingivande webbapplikation kan utformas. För att bestÀmma mÄlgrupp ochvilka funktioner som skulle implementeras gjordes ett förarbete i form av marknadsplan ochenkÀtundersökning. Utvecklingen följde den agila utvecklingsmetodiken Scrum och resultatet var enwebbapplikationen vars struktur Àmnade att underlÀtta för anvÀndaren genom ett lÀttöverskÄdligtgrÀnssnitt och fÀrger som valdes med omsorg. Studien visar ett exempel pÄ hur en anvÀndbar ochförtroendeingivande webbapplikation kan utvecklas, men nÄgra generella slutsatser Àr svÄra att drapÄ grund av studiens begrÀnsade omfattning

    Multi-omics personalized network analyses highlight progressive disruption of central metabolism associated with COVID-19 severity

    No full text
    The clinical outcome and disease severity in coronavirus disease-2019 (COVID-19) are heterogeneous, and the progression or fatality of the disease cannot be explained by a single factor like age or comorbidities. In this study, we used system-wide network-based system biology analysis using whole blood RNA sequencing, immune-phenotyping by flow cytometry, plasma metabolomics, and single cell-type metabolomics of the monocytes to identify the potential determinants of COVID-19 severity at the personalized and group level. Digital cell quantification and immune-phenotyping of the mononuclear phagocytes indicated a substantial role in coordinating the immune cells that mediate the COVID-19 severity. Stratum-specific and personalized genome-scale metabolic modeling indicated monocarboxylate transporter family genes (e.g., SLC16A6), nucleoside transporter genes (e.g., SLC29A1), and metabolites such as α-ketoglutarate, succinate, malate, and butyrate, could play a crucial role in COVID-19 severity. Metabolic perturbations targeting the central metabolic pathway (TCA-cycle) can be an alternate treatment strategy in severe COVID-19

    Metabolic perturbation associated with COVID-19 disease severity and SARS-CoV-2 replication

    No full text
    Viruses hijack host metabolic pathways for their replicative advantage. In this study, using patient-derived multiomics data and in vitro infection assays, we aimed to understand the role of key metabolic pathways that can regulate severe acute respiratory syndrome coronavirus-2 reproduction and their association with disease severity. We used multiomics platforms (targeted and untargeted proteomics and untargeted metabolomics) on patient samples and cell-line models along with immune phenotyping of metabolite transporters in patient blood cells to understand viral-induced metabolic modulations. We also modulated key metabolic pathways that were identified using multiomics data to regulate the viral reproduction in vitro. Coronavirus disease 2019 disease severity was characterized by increased plasma glucose and mannose levels. Immune phenotyping identified altered expression patterns of carbohydrate transporter, glucose transporter 1, in CD8+ T cells, intermediate and nonclassical monocytes, and amino acid transporter, xCT, in classical, intermediate, and nonclassical monocytes. In in vitro lung epithelial cell (Calu-3) infection model, we found that glycolysis and glutaminolysis are essential for virus replication, and blocking these metabolic pathways caused significant reduction in virus production. Taken together, we therefore hypothesized that severe acute respiratory syndrome coronavirus-2 utilizes and rewires pathways governing central carbon metabolism leading to the efflux of toxic metabolites and associated with disease severity. Thus, the host metabolic perturbation could be an attractive strategy to limit the viral replication and disease severity
    corecore