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

Fix poor performance. #1

Open
Maxwell175 opened this issue Oct 4, 2017 · 4 comments
Open

Fix poor performance. #1

Maxwell175 opened this issue Oct 4, 2017 · 4 comments

Comments

@Maxwell175
Copy link
Owner

Maxwell175 commented Oct 4, 2017

The performance still has room to improve.

@Maxwell175
Copy link
Owner Author

Added debugging output on both client and server:

Client: https://github.com/MDTech-us-MAN/SSNFS/blob/master/SSNFS-client/fuseclient.cpp#L489

read  /zeros.tst : Ended handshake: 1
read  /zeros.tst : Sending data: 1
read  /zeros.tst : Waiting for reply: 1
read  /zeros.tst : Got first reply: 46
read  /zeros.tst : 131072 bytes Done: 48

Server: https://github.com/MDTech-us-MAN/SSNFS/blob/master/SSNFSd/ssnfsserver.cpp#L425

got 24 length bytes: 0
got 19 length bytes: 0
Done step 1: 0
Step 2 start: 45
got 10 length bytes: 0
Done step 2: 45
got 15 length bytes: 0
Done step 3: 45
got 16 length bytes: 0
Done step 4: 45

@Maxwell175
Copy link
Owner Author

It seems that the second message from client to server takes 43ms while the rest are are closer to 1ms. What's going on here?

@Maxwell175
Copy link
Owner Author

Fixed in commit 8dd0d1c!

Maxwell175 added a commit that referenced this issue Apr 22, 2018
…all operations. Add threading to server.

NOTE: This greatly harms the write speed. Needs to be fixed...
Reopening issue #1.

Server config is done. (Issue #11)
@Maxwell175
Copy link
Owner Author

Problem has returned in commit 9effd3f.

@Maxwell175 Maxwell175 reopened this Apr 22, 2018
@Maxwell175 Maxwell175 added this to To do in SSNFSd via automation Apr 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
SSNFSd
  
To do
Development

No branches or pull requests

1 participant