Giter Club home page Giter Club logo

Comments (7)

synopse avatar synopse commented on September 26, 2024

There should be a .log file with some information about the exceptions.
Please enable debug information check the stack trace in this log file.

About the EBusError issue, I don't know exactly what is wrong.
The memory leak comes from GetRawSmbiosFromMem - which is likely to be faulty.
We could need the stack trace on the exception from the logs.

Does a /sys/firmware/dmi/tables/smbios_entry_point file exist on your system?
Perhaps we could get rid of all DMI stuff outside of the Intel/AMD world. ;)

My first guess is that there is trouble getting the reference JSON files used by Mustache, and that DNS tests fail also from a network issue.
You should be properly connected to the Internet to let the tests pass.

from mormot2.

turkerali avatar turkerali commented on September 26, 2024

Hi Arnaud

Thanks for your quick response and you're 100% right. After connecting to internet, I ran the regression test again, and the 12 failures are gone ( log: mormot_error_rev01.txt )

As for the EBusError exception, there is no "/sys/firmware/dmi/tables/smbios_entry_point" file in the system. That may be x86 specific as you noted.

As a sidenote, I watch mormot2 rise in the techempower benchmarks with great pleasure. As you may remember our previous conversation, I was not happy with mormot2 async server performance and had switched to actix. Now mormot2 is better than actix in composite scores, so I think it is time to switch back to mormot :-)

Best regards,
Ali Erturk TURKER

from mormot2.

synopse avatar synopse commented on September 26, 2024

Perhaps ce5a1d97 would help.

from mormot2.

turkerali avatar turkerali commented on September 26, 2024

Hi Arnaud,

Today I downloaded a fresh copy (1e1fe2d) of mORMot2 with your updates and all the
smbios related error messages are gone in the regression test: (mormot2_test_lazarus_odroid-x2_linux_rev02.txt).
Thanks a lot.

Interestingly, some JSON related tests were skipped. It just says:

- JSON benchmark: no assertion 144us

However yesterday I got this output from the same regression test:

  - JSON benchmark: 100,519 assertions passed  26.90s
     StrLen() in 23.20ms, 844.9 MB/s
     IsValidUtf8(RawUtf8) in 89.19ms, 219.7 MB/s
     IsValidUtf8(PUtf8Char) in 102.64ms, 190.9 MB/s
     IsValidJson(RawUtf8) in 151.68ms, 129.2 MB/s
     IsValidJson(PUtf8Char) in 151.26ms, 129.6 MB/s
     JsonArrayCount(P) in 151.26ms i.e. 1M/s, 129.6 MB/s
     JsonArrayCount(P,PMax) in 151.91ms i.e. 1M/s, 129 MB/s
     JsonObjectPropCount() in 93.32ms, 121.6 MB/s
     jsonUnquotedPropNameCompact in 488.09ms, 35.6 MB/s
     jsonHumanReadable in 873.16ms, 28.5 MB/s
     TDocVariant in 4.17s i.e. 38.5K/s, 4.7 MB/s
     TDocVariant no guess in 5.03s i.e. 31.9K/s, 3.9 MB/s
     TDocVariant dvoIntern in 2.65s i.e. 60.5K/s, 7.3 MB/s
     TOrmTableJson save in 156.23ms i.e. 1M/s, 55.1 MB/s
     TOrmTableJson exp in 291.53ms i.e. 551.1K/s, 67.2 MB/s
     TOrmTableJson not exp in 121.70ms i.e. 1.2M/s, 70.8 MB/s
     TDocVariant FromResults exp in 1.85s i.e. 86.4K/s, 10.5 MB/s
     TDocVariant FromResults not exp in 1.73s i.e. 92.7K/s, 4.9 MB/s
     DynArrayLoadJson exp in 1.28s i.e. 125.4K/s, 15.3 MB/s
     DynArrayLoadJson non exp in 1.16s i.e. 137.7K/s, 7.3 MB/s
     TOrmPeopleObjArray exp in 2.38s i.e. 67.4K/s, 8.2 MB/s
     TOrmPeopleObjArray non exp in 1.63s i.e. 98.2K/s, 5.2 MB/s
     fpjson in 1.62s i.e. 9.8K/s, 1.2 MB/s

I did not touch anything, what might be the reason?

Regards,
Ali Erturk TURKER

from mormot2.

synopse avatar synopse commented on September 26, 2024

Please try with the latest source state.

I have disable SMBIOS retrieval on ARM/AARCH64. There should be no exception any more.

from mormot2.

synopse avatar synopse commented on September 26, 2024

Some of the JSON tests are using the big JSON content generated during ORM tests (file test.json).
So we need to run the tests twice to have a full coverage.

from mormot2.

turkerali avatar turkerali commented on September 26, 2024

Hi Arnaud,

Thanks for the explanation. mORMot2 is a huge leap over mORMot1, and I'm looking forward to see it on top of the web framework benchmarks.

Regards,
Ali Erturk TURKER

from mormot2.

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.