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

Directory loading is still slow #209

Open
keflavich opened this issue May 31, 2024 · 16 comments
Open

Directory loading is still slow #209

keflavich opened this issue May 31, 2024 · 16 comments

Comments

@keflavich
Copy link

Describe the bug
Loading directories with 100's of files - of any type - takes a long time.

To Reproduce
Open a folder with >100 .images or .fits files.

Expected behavior
An immediate list, e.g., what ls returns.

Screenshots or videos
If applicable, add screenshots/videos to help explain your problem.

Screen.Recording.2024-05-31.at.2.17.29.PM.mov

Platform info (please complete the following information):

  • OS: Mac OS frontend, Redhat 8 backend
  • Browser chrome
  • Version 4.1
@e-koch
Copy link

e-koch commented May 31, 2024

Similar issues occur when attempting to load region files.

@keflavich
Copy link
Author

To provide some context here: John Hibbard was leading a CARTA discussion session at the SSMID workshop (https://science.nrao.edu/facilities/alma/naasc-workshops/ssmid/index) and everyone in the room raised their hands when we asked "is directory loading (still) slow?"

@kswang1029
Copy link

To achieve effectively an "ls", in the preferences dialog (global tab -> file list), you can switch to that mode of directory context parsing. Have you tried that? By default, everything in the directory is scanned for supported image types. If your backend host is HDD-based, it may take time if there are many files and subdirectories (especially for casa images which are "directory"). Please let us know if switching the parsing mode helps or not. Thanks.

@keflavich
Copy link
Author

Yes, this is already with
image

@kswang1029
Copy link

So is the backend HDD-based? Are there multiple users accessing the same server (with HDD storage) running multiple backends? Please share with us more details for diagnostics.

@keflavich
Copy link
Author

I can only speak for my own system, but afaik it's at least partly SSD based on a lustre system. The HPC group doesn't reveal the full details, in general: https://help.rc.ufl.edu/doc/Storage.

Because we've had this conversation before, I had assumed it was something unique to our supercomputer (hipergator). But since everyone in the room has experienced this same problem, it's safe to assume that it's not unique to our filesystem.

@e-koch
Copy link

e-koch commented May 31, 2024

I have similar issues on an SSD on a MacBook Pro (2020) running OSX 12.6

@kswang1029
Copy link

Is everyone in the room accessing the same file system? Is that a tutorial event with a computing environment configured for hands-on? Or they are accessing different file systems (local laptop, remote server with ssd, remote server with HDD-based Lustre etc.)?

We had tested before with a usb 2.5" HDD with such use cases but did not see such performance (with cache cleared for sure). I would like to at least figure out the right setup for further investigation. Being able to reproduce the issue is the first step.

@kswang1029
Copy link

kswang1029 commented May 31, 2024

I have similar issues on an SSD on a MacBook Pro (2020) running OSX 12.6

Would you mind sending us a text file about what you see with a ls?

@keflavich
Copy link
Author

These are all independent users operating on different filesystems. We weren't testing at the time, this was just a general report of this being a common pain point for users.

Unfortunately, I cannot provide a MWE, but I hope Eric and others can!

@kswang1029
Copy link

Ok. Thanks for the info. I will have a look.

@kswang1029
Copy link

@keflavich BTW, are there other pain points?

@keflavich
Copy link
Author

@kswang1029 I have a few other crashes here and there that are hard to reproduce; I'll try to screengrab some and post new issues for them.

@kswang1029
Copy link

@kswang1029 I have a few other crashes here and there that are hard to reproduce; I'll try to screengrab some and post new issues for them.

Thank you! We might have known some of them but please share with us your collection! 🙂

@Kitchi
Copy link

Kitchi commented Jun 1, 2024

To add to this, we also see relatively slow loading of files in the browser on the ilifu cluster running on a CephFS filesystem running on an SSD and CARTA 4.1.0.

@kswang1029
Copy link

To add to this, we also see relatively slow loading of files in the browser on the ilifu cluster running on a CephFS filesystem running on an SSD and CARTA 4.1.0.

Thanks for the info. We will perform detailed performance benchmarks

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

4 participants