How to avoid a NAS CPU bottleneck when using SMB
I have a NAS running Ubuntu connected via gigabit ethernet to a Windows 10 PC. When copying files via SMB from that PC to the NAS, a single CPU core is at 100% usage (it's a rather slow, low power dual core Intel CPU). The speeds I reach this way range from 20-35MB/s. However, when copying the files via SCP using the Ubuntu runtime in windows to that NAS, I reach consistent 100MB/s speeds. When doing that, both cores are at about 50-70% load. My question is, is there anything a I can configure to improve the efficiency of SMB on a slow CPU (using all the cores?) or is there a different way I can conveniently access my NAS from Windows Explorer while still getting the full performance?
NAS specs:
Intel Atom C3338
1x 8GB DDR4
1x SSD for OS
4x 6TB HDD in RAID 5
Ubuntu 18.04
Samba 4.7.6-Ubuntu
networking windows-10 ubuntu nas samba
add a comment |
I have a NAS running Ubuntu connected via gigabit ethernet to a Windows 10 PC. When copying files via SMB from that PC to the NAS, a single CPU core is at 100% usage (it's a rather slow, low power dual core Intel CPU). The speeds I reach this way range from 20-35MB/s. However, when copying the files via SCP using the Ubuntu runtime in windows to that NAS, I reach consistent 100MB/s speeds. When doing that, both cores are at about 50-70% load. My question is, is there anything a I can configure to improve the efficiency of SMB on a slow CPU (using all the cores?) or is there a different way I can conveniently access my NAS from Windows Explorer while still getting the full performance?
NAS specs:
Intel Atom C3338
1x 8GB DDR4
1x SSD for OS
4x 6TB HDD in RAID 5
Ubuntu 18.04
Samba 4.7.6-Ubuntu
networking windows-10 ubuntu nas samba
1
What version of SMB are you using. Please edit your question and include this vital information necessary to answer your question
– Ramhound
Jan 27 at 13:22
add a comment |
I have a NAS running Ubuntu connected via gigabit ethernet to a Windows 10 PC. When copying files via SMB from that PC to the NAS, a single CPU core is at 100% usage (it's a rather slow, low power dual core Intel CPU). The speeds I reach this way range from 20-35MB/s. However, when copying the files via SCP using the Ubuntu runtime in windows to that NAS, I reach consistent 100MB/s speeds. When doing that, both cores are at about 50-70% load. My question is, is there anything a I can configure to improve the efficiency of SMB on a slow CPU (using all the cores?) or is there a different way I can conveniently access my NAS from Windows Explorer while still getting the full performance?
NAS specs:
Intel Atom C3338
1x 8GB DDR4
1x SSD for OS
4x 6TB HDD in RAID 5
Ubuntu 18.04
Samba 4.7.6-Ubuntu
networking windows-10 ubuntu nas samba
I have a NAS running Ubuntu connected via gigabit ethernet to a Windows 10 PC. When copying files via SMB from that PC to the NAS, a single CPU core is at 100% usage (it's a rather slow, low power dual core Intel CPU). The speeds I reach this way range from 20-35MB/s. However, when copying the files via SCP using the Ubuntu runtime in windows to that NAS, I reach consistent 100MB/s speeds. When doing that, both cores are at about 50-70% load. My question is, is there anything a I can configure to improve the efficiency of SMB on a slow CPU (using all the cores?) or is there a different way I can conveniently access my NAS from Windows Explorer while still getting the full performance?
NAS specs:
Intel Atom C3338
1x 8GB DDR4
1x SSD for OS
4x 6TB HDD in RAID 5
Ubuntu 18.04
Samba 4.7.6-Ubuntu
networking windows-10 ubuntu nas samba
networking windows-10 ubuntu nas samba
edited Jan 27 at 14:42
Andreas Hartmann
asked Jan 27 at 13:19
Andreas HartmannAndreas Hartmann
7572821
7572821
1
What version of SMB are you using. Please edit your question and include this vital information necessary to answer your question
– Ramhound
Jan 27 at 13:22
add a comment |
1
What version of SMB are you using. Please edit your question and include this vital information necessary to answer your question
– Ramhound
Jan 27 at 13:22
1
1
What version of SMB are you using. Please edit your question and include this vital information necessary to answer your question
– Ramhound
Jan 27 at 13:22
What version of SMB are you using. Please edit your question and include this vital information necessary to answer your question
– Ramhound
Jan 27 at 13:22
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398928%2fhow-to-avoid-a-nas-cpu-bottleneck-when-using-smb%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398928%2fhow-to-avoid-a-nas-cpu-bottleneck-when-using-smb%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
What version of SMB are you using. Please edit your question and include this vital information necessary to answer your question
– Ramhound
Jan 27 at 13:22