Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow binary search execution #19

Open
Aklakan opened this issue Jul 29, 2024 · 2 comments
Open

Slow binary search execution #19

Aklakan opened this issue Jul 29, 2024 · 2 comments

Comments

@Aklakan
Copy link
Member

Aklakan commented Jul 29, 2024

docker run --rm -it  aksw/rpt "integrate" "SELECT * { SERVICE <x-binsearch:vfs:https://databus.dbpedia.org/ontologies/purl.obolibrary.org/obo--chebi--owl/2024.02.01-161433/obo--chebi--owl_tag=sorted_type=parsed.nt> { <http://purl.obolibrary.org/obo/CHEBI_23367> ?p ?o } }"

The times are 2,1 s for 5MB and 2,8 für 980 MB. So for 5MB it takes nearly as long as for 1GB, whereas one one suspect it to be much faster on such small data.

@Aklakan
Copy link
Member Author

Aklakan commented Aug 28, 2024

@Aklakan
Copy link
Member Author

Aklakan commented Sep 20, 2024

Tracking the reads during binary search on sorted n-triples files using a wrapped ByteChannel shows that the approach with hadoop's Bzip2Codec currently accesses ~5 times more data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant