Giter Club home page Giter Club logo

Comments (3)

cenkoloji avatar cenkoloji commented on September 27, 2024

Out of curiosity, checking the same in my local IMAS/UDA server. Difference is about 10 times.

yildiz@spcimas: ~  $ ./uda.py -u 'imas:mdsplus?path=/data/imas/public/imasdb/tcv/3/71222/999/' -c summary 2>/dev/null |grep "get ="
        get =  0.059
        
yildiz@spcimas: ~  $ IMAS_LOCAL_HOSTS="localhost" ./uda.py -u 'imas://localhost:56565/uda?path=/data/imas/public/imasdb/tcv/3/71222/999/&backend=mdsplus' -c summary  2>/dev/null |grep "get ="
        get =  0.059
        
yildiz@spcimas: ~  $ ./uda.py -u 'imas://localhost:56565/uda?path=/data/imas/public/imasdb/tcv/3/71222/999/&backend=mdsplus' -c summary  2>/dev/null |grep "get ="
        get =  0.487

software versions:

yildiz@spcimas: ~  $ module list
Currently Loaded Modulefiles:
 1) IMAS/3.39.0-5.0.0   2) idstools/1.14.1   3) uda/2.7.4  

Info for the ones that haven't checked what IMAS_LOCAL_HOSTS does: it removes uda backend and sets the backend from the uda arguments. That's why the first and second calls are in fact identical. (access-layer/lowlevel/al_context.cpp#192)

from uda.

DavidPCoster avatar DavidPCoster commented on September 27, 2024

@cenkoloji -- How big were the IDSes you accessed?

In my case

Reading 48.138 MB of data for equilibrium/0 took 2.01 seconds
Reading 0.061 MB of data for summary/0 took 0.14 seconds

using the "idssize" command of the soon to be released idstools (release/2.0.0)

from uda.

cenkoloji avatar cenkoloji commented on September 27, 2024

This example was just summary. I can't run idssize as the imas version I have isn't compatible yet. but summary and equilibrium IDS hdf5 files are around
summary: 0.16Mb
equilibrium: 20Mb

Repeating same exercise with both backend, using equiliibrium (I couldn't get mds backend to work via UDA)

yildiz@spcimas: ~  $ IMAS_LOCAL_HOSTS="localhost" ./uda.py -u 'imas://localhost:56565/uda?path=/tmp/yildiz/imasdb/tcv/3/71222/999/&backend=hdf5' -c equilibrium  2>/dev/null |grep "get ="
        get =  8.013
yildiz@spcimas: ~  $ ./uda.py -u 'imas://localhost:56565/uda?path=/tmp/yildiz/imasdb/tcv/3/71222/999/&backend=hdf5' -c equilibrium  2>/dev/null |grep "get ="
        get = 33.998
       
yildiz@spcimas: ~  $ IMAS_LOCAL_HOSTS="localhost" ./uda.py -u 'imas://localhost:56565/uda?path=/tmp/yildiz/imasdb/tcv/3/71222/999/&backend=mdsplus' -c equilibrium   2>/dev/null |grep "get ="
        get =  9.584

from uda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.