-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Windows10 + WSL2 Docker Desktop] booting storaged with 300MB of data takes more than 20min #5836
Comments
Let me start with my situation: I'm using an M1 macOS machine with 16GB of RAM, and as you know, it's an SSD device. My dataset is quite small, with only a few hundred nodes and over ten thousand edges. As for the startup time, it takes just a few seconds, less than five seconds. As for why your startup time is so long, you might want to see what others have to say about it. |
Confirm what is said above. On linux debian, filesystem ext4 single nvme disk, with exactly same data volumes, partition loading takes <1s for all sample data spaces. Next I will try to run Hyper-V VM to see if that works ok or same issue exists. |
Thank you, Johnny, for the testing. Looking forward to your results. Appreciate your sharing this! |
With lack of further understanding, when on Windows, just use Virtualbox and set up VM port forwarding to reach graphd1,2,3 @QingZ11 maybe some project devs have access to Windows10/11+WSL2+Docker and can run profiling/tracing on the storaged booting up and loading parts for the larger demo samples? |
Sorry @johnny-smitherson for the bad IO perf on WSL2 Docker Desktop. This seems to be a long-open issue for the stack 😢. |
ah i see, thanks for the link! might be worth it to put this situation into the FAQ under "resources" https://docs.nebula-graph.io/3.0.2/4.deployment-and-installation/1.resource-preparations/ - while it's obvious that only Linux is supported, people will still try to use WSL2 as replacement for linux I had no other functional errors using the platform, just the 20x-100x performance degradation - so you could mention wsl2 as unsupported testing platform (as long as you don't have any significant amount of data) |
Thank you for Johnny's suggestion. I will communicate it with the documentation team to see if need to add a FAQ section. Once again, thank you for your testing work; it's very beneficial to us. |
Describe the bug (required)
I'm seeing very slow restarts of the storaged containers after loading the cluster with all the data from the studio examples, total 500k vertex and edges.
Data folders for all storaged containers is 100MB per container.
I am using WSL2 on Windows 10 platform with Docker Desktop to run the 3-container docker-compose setup from here. The health checks take more than 30min to become green for only 300MB of total data.
The storage is hosted on single NVME SSD.
I did try
BALANCE LEADER
- load time stays at 30min.Throught the reload, CPU use stays under 20% per container, and I/O use is minimal.
Your Environments (required)
Linux hostname 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
??? (from docker nebula v3.6.0)
12th Gen Intel(R) Core(TM) i5
nebula v3.6.0
How To Reproduce(required)
Steps to reproduce the behavior:
BALANCE LEADER
on all the spacesLoad space 1 from disk
to the lastLoad leader ok
message in the logs, for me it's >30minExpected behavior
Loading should be faster than 300mb/30min = 170kb/s - still, is this to be expected?
Additional context
I will install Linux on host and re-do the experiment.
Other issues:
Data usage report:
File count report:
Downloaded spaces description
Biggest space stats
Questions
The text was updated successfully, but these errors were encountered: