Pomoc Problem z smbd, uzyciem procka i spadkiem wydajności

bpx03

Entry Technician
Q Associate
5 Lipiec 2013
56
9
58
41
Manchester
QNAP
TS-x69L
Ethernet
1 GbE
Witam. Mam problemz 269L i firmware 4.1. Od czasu do czasu (przewaznie) gdy probuje cos kopiowac z nas na komputer osiagam predkosc okolo 6MB/s :/ Podczas wystepowania problemu proces smbd zuzywa 100% cpu i pluje w dmesg jakimis errorami ktore zalaczam ponizej. Dyski niby sa kompatybilne i nie posiadaja zadnych bad sectorow. Jezeli macie jakis pomysl co moze byc przyczyna, lub jakie logi jeszcze moge dodac aby lepiej mozna bylo zdiagnozowac problem to bylbym bardzo wdzieczny bo juz mi na niego siily brak... :/

Pozdrawiam


Edit: Dodam jeszcze ze nie mam zadnego raida (dwa oddzielne woluminy) wiec nie rozumiem wogole o co mu z tym chodzi...


Kod:
6>[405322.833184] created bitmap (1 pages) for device md323
[405322.833391] md323: bitmap initialized from disk: read 1/1 pages, set 128 of                                                  128 bits
[405322.933555] md323: detected capacity change from 0 to 8554217472
[405322.985798]  md323: unknown partition table
[405323.031099] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 acros                                                 s:8353724k
[405323.044337] EXT4-fs (device dm-12): ext4trim start (start from 0, total 2228                                                 3)
[405340.533331] EXT4-fs (device dm-12): ext4trimt finish
[405341.135980] md323: detected capacity change from 8554217472 to 0
[405341.135994] md: md323 stopped.
[405341.136008] md: unbind<sda5>
[405341.142288] md: export_rdev(sda5)
[491632.089237] md: bind<sda5>
[491632.090967] md/raid1:md323: active with 1 out of 2 mirrors
[491632.091175] created bitmap (1 pages) for device md323
[491632.091518] md323: bitmap initialized from disk: read 1/1 pages, set 128 of                                                  128 bits
[491632.181500] md323: detected capacity change from 0 to 8554217472
[491632.236701]  md323: unknown partition table
[491632.281538] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 acros                                                 s:8353724k
[491632.296604] EXT4-fs (device dm-12): ext4trim start (start from 0, total 2228                                                 3)
[491648.958508] EXT4-fs (device dm-12): ext4trimt finish
[491650.410267] md323: detected capacity change from 8554217472 to 0
[491650.410281] md: md323 stopped.
[491650.410294] md: unbind<sda5>
[491650.416337] md: export_rdev(sda5)
[549359.164501] Peer 83.26.239.238:2863/51413 unexpectedly shrunk window 2204686                                                 939:2204714679 (repaired)
[549360.149480] Peer 83.26.239.238:2863/51413 unexpectedly shrunk window 2204686                                                 939:2204714679 (repaired)
[577941.436133] md: bind<sda5>
[577941.437904] md/raid1:md323: active with 1 out of 2 mirrors
[577941.438070] created bitmap (1 pages) for device md323
[577941.438229] md323: bitmap initialized from disk: read 1/1 pages, set 128 of                                                  128 bits
[577941.530000] md323: detected capacity change from 0 to 8554217472
[577941.706054]  md323: unknown partition table
[577941.761420] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 acros                                                 s:8353724k
[577941.776058] EXT4-fs (device dm-12): ext4trim start (start from 0, total 2228                                                 3)
[577958.322083] EXT4-fs (device dm-12): ext4trimt finish
[577960.215146] md323: detected capacity change from 8554217472 to 0
[577960.215160] md: md323 stopped.
[577960.215173] md: unbind<sda5>
[577960.221835] md: export_rdev(sda5)
[664249.590933] md: bind<sda5>
[664249.592607] md/raid1:md323: active with 1 out of 2 mirrors
[664249.592767] created bitmap (1 pages) for device md323
[664249.592936] md323: bitmap initialized from disk: read 1/1 pages, set 128 of                                                  128 bits
[664249.607420] md323: detected capacity change from 0 to 8554217472
[664249.636040]  md323: unknown partition table
[664249.666748] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 acros                                                 s:8353724k
[664249.682368] EXT4-fs (device dm-12): ext4trim start (start from 0, total 2228                                                 3)
[664263.529684] EXT4-fs (device dm-12): ext4trimt finish
[664265.273327] md323: detected capacity change from 8554217472 to 0
[664265.273342] md: md323 stopped.
[664265.273356] md: unbind<sda5>
[664265.282284] md: export_rdev(sda5)
[750559.004603] md: bind<sda5>
[750559.006273] md/raid1:md323: active with 1 out of 2 mirrors
[750559.006448] created bitmap (1 pages) for device md323
[750559.006624] md323: bitmap initialized from disk: read 1/1 pages, set 128 of                                                  128 bits
[750559.097815] md323: detected capacity change from 0 to 8554217472
[750559.151839]  md323: unknown partition table
[750559.196813] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 acros                                                 s:8353724k
[750559.213070] EXT4-fs (device dm-12): ext4trim start (start from 0, total 2228                                                 3)
[750559.321069] EXT4-fs (device dm-12): ext4trimt finish
[750562.574984] md323: detected capacity change from 8554217472 to 0
[750562.574998] md: md323 stopped.
[750562.575012] md: unbind<sda5>
[750562.579830] md: export_rdev(sda5)
[836868.220391] md: bind<sda5>
[836868.221822] md/raid1:md323: active with 1 out of 2 mirrors
[836868.221972] created bitmap (1 pages) for device md323
[836868.222109] md323: bitmap initialized from disk: read 1/1 pages, set 128 of                                                  128 bits
[836868.312508] md323: detected capacity change from 0 to 8554217472
[836868.366067]  md323: unknown partition table
[836868.411654] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 acros                                                 s:8353724k
[836868.424831] EXT4-fs (device dm-12): ext4trim start (start from 0, total 2228                                                 3)
[836886.039115] EXT4-fs (device dm-12): ext4trimt finish
[836886.516542] md323: detected capacity change from 8554217472 to 0
[836886.516556] md: md323 stopped.
[836886.516594] md: unbind<sda5>
[836886.522577] md: export_rdev(sda5)
[923177.604736] md: bind<sda5>
[923177.606089] md/raid1:md323: active with 1 out of 2 mirrors
[923177.606215] created bitmap (1 pages) for device md323
[923177.606345] md323: bitmap initialized from disk: read 1/1 pages, set 128 of                                                  128 bits
[923177.663100] md323: detected capacity change from 0 to 8554217472
[923177.689400]  md323: unknown partition table
[923177.721416] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 acros                                                 s:8353724k
[923177.734918] EXT4-fs (device dm-12): ext4trim start (start from 0, total 2228                                                 3)
[923194.299635] EXT4-fs (device dm-12): ext4trimt finish
[923195.867845] md323: detected capacity change from 8554217472 to 0
[923195.867859] md: md323 stopped.
[923195.867872] md: unbind<sda5>
[923195.874549] md: export_rdev(sda5)
[1009486.740141] md: bind<sda5>
[1009486.741917] md/raid1:md323: active with 1 out of 2 mirrors
[1009486.742121] created bitmap (1 pages) for device md323
[1009486.742274] md323: bitmap initialized from disk: read 1/1 pages, set 128 of                                                  128 bits
[1009486.831520] md323: detected capacity change from 0 to 8554217472
[1009486.904361]  md323: unknown partition table
[1009487.006909] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 acro                                                 ss:8353724k
[1009487.021782] EXT4-fs (device dm-12): ext4trim start (start from 0, total 222                                                 83)
[1009488.495032] EXT4-fs (device dm-12): ext4trimt finish
[1009490.535727] md323: detected capacity change from 8554217472 to 0
[1009490.535741] md: md323 stopped.
[1009490.535754] md: unbind<sda5>
[1009490.541837] md: export_rdev(sda5)
[1095796.010391] md: bind<sda5>
[1095796.012054] md/raid1:md323: active with 1 out of 2 mirrors
[1095796.012284] created bitmap (1 pages) for device md323
[1095796.012492] md323: bitmap initialized from disk: read 1/1 pages, set 128 of                                                  128 bits
[1095796.104265] md323: detected capacity change from 0 to 8554217472
[1095796.158009]  md323: unknown partition table
[1095796.202431] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 acro                                                 ss:8353724k
[1095796.217807] EXT4-fs (device dm-12): ext4trim start (start from 0, total 222                                                 83)
[1095796.370710] EXT4-fs (device dm-12): ext4trimt finish
[1095799.373251] md323: detected capacity change from 8554217472 to 0
[1095799.373264] md: md323 stopped.
[1095799.373278] md: unbind<sda5>
[1095799.379346] md: export_rdev(sda5)
[1182105.166859] md: bind<sda5>
[1182105.168232] md/raid1:md323: active with 1 out of 2 mirrors
[1182105.168398] created bitmap (1 pages) for device md323
[1182105.168530] md323: bitmap initialized from disk: read 1/1 pages, set 128 of                                                  128 bits
[1182105.183497] md323: detected capacity change from 0 to 8554217472
[1182105.232235]  md323: unknown partition table
[1182105.383332] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 acro                                                 ss:8353724k
[1182105.396860] EXT4-fs (device dm-12): ext4trim start (start from 0, total 222                                                 83)
[1182111.393246] EXT4-fs (device dm-12): ext4trimt finish
[1182114.531454] md323: detected capacity change from 8554217472 to 0
[1182114.531469] md: md323 stopped.
[1182114.531482] md: unbind<sda5>
[1182114.538258] md: export_rdev(sda5)
[~] # dmesg
6>[405322.833184] created bitmap (1 pages) for device md323
[405322.833391] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[405322.933555] md323: detected capacity change from 0 to 8554217472
[405322.985798]  md323: unknown partition table
[405323.031099] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[405323.044337] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[405340.533331] EXT4-fs (device dm-12): ext4trimt finish
[405341.135980] md323: detected capacity change from 8554217472 to 0
[405341.135994] md: md323 stopped.
[405341.136008] md: unbind<sda5>
[405341.142288] md: export_rdev(sda5)
[491632.089237] md: bind<sda5>
[491632.090967] md/raid1:md323: active with 1 out of 2 mirrors
[491632.091175] created bitmap (1 pages) for device md323
[491632.091518] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[491632.181500] md323: detected capacity change from 0 to 8554217472
[491632.236701]  md323: unknown partition table
[491632.281538] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[491632.296604] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[491648.958508] EXT4-fs (device dm-12): ext4trimt finish
[491650.410267] md323: detected capacity change from 8554217472 to 0
[491650.410281] md: md323 stopped.
[491650.410294] md: unbind<sda5>
[491650.416337] md: export_rdev(sda5)
[549359.164501] Peer 83.26.239.238:2863/51413 unexpectedly shrunk window 2204686939:2204714679 (repaired)
[549360.149480] Peer 83.26.239.238:2863/51413 unexpectedly shrunk window 2204686939:2204714679 (repaired)
[577941.436133] md: bind<sda5>
[577941.437904] md/raid1:md323: active with 1 out of 2 mirrors
[577941.438070] created bitmap (1 pages) for device md323
[577941.438229] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[577941.530000] md323: detected capacity change from 0 to 8554217472
[577941.706054]  md323: unknown partition table
[577941.761420] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[577941.776058] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[577958.322083] EXT4-fs (device dm-12): ext4trimt finish
[577960.215146] md323: detected capacity change from 8554217472 to 0
[577960.215160] md: md323 stopped.
[577960.215173] md: unbind<sda5>
[577960.221835] md: export_rdev(sda5)
[664249.590933] md: bind<sda5>
[664249.592607] md/raid1:md323: active with 1 out of 2 mirrors
[664249.592767] created bitmap (1 pages) for device md323
[664249.592936] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[664249.607420] md323: detected capacity change from 0 to 8554217472
[664249.636040]  md323: unknown partition table
[664249.666748] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[664249.682368] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[664263.529684] EXT4-fs (device dm-12): ext4trimt finish
[664265.273327] md323: detected capacity change from 8554217472 to 0
[664265.273342] md: md323 stopped.
[664265.273356] md: unbind<sda5>
[664265.282284] md: export_rdev(sda5)
[750559.004603] md: bind<sda5>
[750559.006273] md/raid1:md323: active with 1 out of 2 mirrors
[750559.006448] created bitmap (1 pages) for device md323
[750559.006624] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[750559.097815] md323: detected capacity change from 0 to 8554217472
[750559.151839]  md323: unknown partition table
[750559.196813] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[750559.213070] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[750559.321069] EXT4-fs (device dm-12): ext4trimt finish
[750562.574984] md323: detected capacity change from 8554217472 to 0
[750562.574998] md: md323 stopped.
[750562.575012] md: unbind<sda5>
[750562.579830] md: export_rdev(sda5)
[836868.220391] md: bind<sda5>
[836868.221822] md/raid1:md323: active with 1 out of 2 mirrors
[836868.221972] created bitmap (1 pages) for device md323
[836868.222109] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[836868.312508] md323: detected capacity change from 0 to 8554217472
[836868.366067]  md323: unknown partition table
[836868.411654] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[836868.424831] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[836886.039115] EXT4-fs (device dm-12): ext4trimt finish
[836886.516542] md323: detected capacity change from 8554217472 to 0
[836886.516556] md: md323 stopped.
[836886.516594] md: unbind<sda5>
[836886.522577] md: export_rdev(sda5)
[923177.604736] md: bind<sda5>
[923177.606089] md/raid1:md323: active with 1 out of 2 mirrors
[923177.606215] created bitmap (1 pages) for device md323
[923177.606345] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[923177.663100] md323: detected capacity change from 0 to 8554217472
[923177.689400]  md323: unknown partition table
[923177.721416] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[923177.734918] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[923194.299635] EXT4-fs (device dm-12): ext4trimt finish
[923195.867845] md323: detected capacity change from 8554217472 to 0
[923195.867859] md: md323 stopped.
[923195.867872] md: unbind<sda5>
[923195.874549] md: export_rdev(sda5)
[1009486.740141] md: bind<sda5>
[1009486.741917] md/raid1:md323: active with 1 out of 2 mirrors
[1009486.742121] created bitmap (1 pages) for device md323
[1009486.742274] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[1009486.831520] md323: detected capacity change from 0 to 8554217472
[1009486.904361]  md323: unknown partition table
[1009487.006909] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[1009487.021782] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[1009488.495032] EXT4-fs (device dm-12): ext4trimt finish
[1009490.535727] md323: detected capacity change from 8554217472 to 0
[1009490.535741] md: md323 stopped.
[1009490.535754] md: unbind<sda5>
[1009490.541837] md: export_rdev(sda5)
[1095796.010391] md: bind<sda5>
[1095796.012054] md/raid1:md323: active with 1 out of 2 mirrors
[1095796.012284] created bitmap (1 pages) for device md323
[1095796.012492] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[1095796.104265] md323: detected capacity change from 0 to 8554217472
[1095796.158009]  md323: unknown partition table
[1095796.202431] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[1095796.217807] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[1095796.370710] EXT4-fs (device dm-12): ext4trimt finish
[1095799.373251] md323: detected capacity change from 8554217472 to 0
[1095799.373264] md: md323 stopped.
[1095799.373278] md: unbind<sda5>
[1095799.379346] md: export_rdev(sda5)
[1182105.166859] md: bind<sda5>
[1182105.168232] md/raid1:md323: active with 1 out of 2 mirrors
[1182105.168398] created bitmap (1 pages) for device md323
[1182105.168530] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[1182105.183497] md323: detected capacity change from 0 to 8554217472
[1182105.232235]  md323: unknown partition table
[1182105.383332] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[1182105.396860] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[1182111.393246] EXT4-fs (device dm-12): ext4trimt finish
[1182114.531454] md323: detected capacity change from 8554217472 to 0
[1182114.531469] md: md323 stopped.
[1182114.531482] md: unbind<sda5>
[1182114.538258] md: export_rdev(sda5)
[~] # dmesg
6>[405322.833184] created bitmap (1 pages) for device md323
[405322.833391] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[405322.933555] md323: detected capacity change from 0 to 8554217472
[405322.985798]  md323: unknown partition table
[405323.031099] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[405323.044337] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[405340.533331] EXT4-fs (device dm-12): ext4trimt finish
[405341.135980] md323: detected capacity change from 8554217472 to 0
[405341.135994] md: md323 stopped.
[405341.136008] md: unbind<sda5>
[405341.142288] md: export_rdev(sda5)
[491632.089237] md: bind<sda5>
[491632.090967] md/raid1:md323: active with 1 out of 2 mirrors
[491632.091175] created bitmap (1 pages) for device md323
[491632.091518] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[491632.181500] md323: detected capacity change from 0 to 8554217472
[491632.236701]  md323: unknown partition table
[491632.281538] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[491632.296604] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[491648.958508] EXT4-fs (device dm-12): ext4trimt finish
[491650.410267] md323: detected capacity change from 8554217472 to 0
[491650.410281] md: md323 stopped.
[491650.410294] md: unbind<sda5>
[491650.416337] md: export_rdev(sda5)
[549359.164501] Peer 83.26.239.238:2863/51413 unexpectedly shrunk window 2204686939:2204714679 (repaired)
[549360.149480] Peer 83.26.239.238:2863/51413 unexpectedly shrunk window 2204686939:2204714679 (repaired)
[577941.436133] md: bind<sda5>
[577941.437904] md/raid1:md323: active with 1 out of 2 mirrors
[577941.438070] created bitmap (1 pages) for device md323
[577941.438229] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[577941.530000] md323: detected capacity change from 0 to 8554217472
[577941.706054]  md323: unknown partition table
[577941.761420] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[577941.776058] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[577958.322083] EXT4-fs (device dm-12): ext4trimt finish
[577960.215146] md323: detected capacity change from 8554217472 to 0
[577960.215160] md: md323 stopped.
[577960.215173] md: unbind<sda5>
[577960.221835] md: export_rdev(sda5)
[664249.590933] md: bind<sda5>
[664249.592607] md/raid1:md323: active with 1 out of 2 mirrors
[664249.592767] created bitmap (1 pages) for device md323
[664249.592936] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[664249.607420] md323: detected capacity change from 0 to 8554217472
[664249.636040]  md323: unknown partition table
[664249.666748] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[664249.682368] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[664263.529684] EXT4-fs (device dm-12): ext4trimt finish
[664265.273327] md323: detected capacity change from 8554217472 to 0
[664265.273342] md: md323 stopped.
[664265.273356] md: unbind<sda5>
[664265.282284] md: export_rdev(sda5)
[750559.004603] md: bind<sda5>
[750559.006273] md/raid1:md323: active with 1 out of 2 mirrors
[750559.006448] created bitmap (1 pages) for device md323
[750559.006624] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[750559.097815] md323: detected capacity change from 0 to 8554217472
[750559.151839]  md323: unknown partition table
[750559.196813] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[750559.213070] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[750559.321069] EXT4-fs (device dm-12): ext4trimt finish
[750562.574984] md323: detected capacity change from 8554217472 to 0
[750562.574998] md: md323 stopped.
[750562.575012] md: unbind<sda5>
[750562.579830] md: export_rdev(sda5)
[836868.220391] md: bind<sda5>
[836868.221822] md/raid1:md323: active with 1 out of 2 mirrors
[836868.221972] created bitmap (1 pages) for device md323
[836868.222109] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[836868.312508] md323: detected capacity change from 0 to 8554217472
[836868.366067]  md323: unknown partition table
[836868.411654] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[836868.424831] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[836886.039115] EXT4-fs (device dm-12): ext4trimt finish
[836886.516542] md323: detected capacity change from 8554217472 to 0
[836886.516556] md: md323 stopped.
[836886.516594] md: unbind<sda5>
[836886.522577] md: export_rdev(sda5)
[923177.604736] md: bind<sda5>
[923177.606089] md/raid1:md323: active with 1 out of 2 mirrors
[923177.606215] created bitmap (1 pages) for device md323
[923177.606345] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[923177.663100] md323: detected capacity change from 0 to 8554217472
[923177.689400]  md323: unknown partition table
[923177.721416] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[923177.734918] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[923194.299635] EXT4-fs (device dm-12): ext4trimt finish
[923195.867845] md323: detected capacity change from 8554217472 to 0
[923195.867859] md: md323 stopped.
[923195.867872] md: unbind<sda5>
[923195.874549] md: export_rdev(sda5)
[1009486.740141] md: bind<sda5>
[1009486.741917] md/raid1:md323: active with 1 out of 2 mirrors
[1009486.742121] created bitmap (1 pages) for device md323
[1009486.742274] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[1009486.831520] md323: detected capacity change from 0 to 8554217472
[1009486.904361]  md323: unknown partition table
[1009487.006909] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[1009487.021782] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[1009488.495032] EXT4-fs (device dm-12): ext4trimt finish
[1009490.535727] md323: detected capacity change from 8554217472 to 0
[1009490.535741] md: md323 stopped.
[1009490.535754] md: unbind<sda5>
[1009490.541837] md: export_rdev(sda5)
[1095796.010391] md: bind<sda5>
[1095796.012054] md/raid1:md323: active with 1 out of 2 mirrors
[1095796.012284] created bitmap (1 pages) for device md323
[1095796.012492] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[1095796.104265] md323: detected capacity change from 0 to 8554217472
[1095796.158009]  md323: unknown partition table
[1095796.202431] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[1095796.217807] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[1095796.370710] EXT4-fs (device dm-12): ext4trimt finish
[1095799.373251] md323: detected capacity change from 8554217472 to 0
[1095799.373264] md: md323 stopped.
[1095799.373278] md: unbind<sda5>
[1095799.379346] md: export_rdev(sda5)
[1182105.166859] md: bind<sda5>
[1182105.168232] md/raid1:md323: active with 1 out of 2 mirrors
[1182105.168398] created bitmap (1 pages) for device md323
[1182105.168530] md323: bitmap initialized from disk: read 1/1 pages, set 128 of 128 bits
[1182105.183497] md323: detected capacity change from 0 to 8554217472
[1182105.232235]  md323: unknown partition table
[1182105.383332] Adding 8353724k swap on /dev/md323.  Priority:-2 extents:1 across:8353724k
[1182105.396860] EXT4-fs (device dm-12): ext4trim start (start from 0, total 22283)
[1182111.393246] EXT4-fs (device dm-12): ext4trimt finish
[1182114.531454] md323: detected capacity change from 8554217472 to 0
[1182114.531469] md: md323 stopped.
[1182114.531482] md: unbind<sda5>
[1182114.538258] md: export_rdev(sda5)
[~] #
 
Cześć Mariusz, witam ponownie :)

Nie mam zadnego ssd wiec i ssd cache tez nie. Moje dyski to Toshiba DT01ACA300 (3TB) + Seagate ST31000333AS (1TB) oba standardowe sata. Z serwisow mam praktycznie wszystko powylaczane jako iz traktuje tego NAS jedynie jako storage. Moge zrobić reseta, ale pochodzi chwile i podobne logi zaczna sie pojawiac dmesg.

Zastanawiają mnie troche te czesci loga:

Kod:
md/raid1:md323: active with 1 out of 2 mirrors

Oczywiscie moge sie mylic, ale wyglada to tak jakby mialby tam byc RAID 1 i sie w kolko naprawial..

output z mdstat:
Kod:
[~] # cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
md2 : active raid1 sdb3[0]
      966807616 blocks super 1.0 [1/1] [U]
      bitmap: 0/8 pages [0KB], 65536KB chunk

md1 : active raid1 sda3[0]
      2920311616 blocks super 1.0 [1/1] [U]
      bitmap: 0/22 pages [0KB], 65536KB chunk

md256 : active raid1 sdb2[1] sda2[0]
      530112 blocks super 1.0 [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md13 : active raid1 sda4[0] sdb4[24]
      458880 blocks super 1.0 [24/2] [UU______________________]
      bitmap: 1/1 pages [4KB], 65536KB chunk

md9 : active raid1 sda1[0] sdb1[24]
      530048 blocks super 1.0 [24/2] [UU______________________]
      bitmap: 1/1 pages [4KB], 65536KB chunk

unused devices: <none>

Zauważyłem że md13 i md9 sa w stanie: active, degraded wiec moze to byc problemem...
Kod:
[~] # mdadm -D /dev/md9
/dev/md9:
        Version : 1.0
  Creation Time : Tue Mar 18 01:19:35 2014
     Raid Level : raid1
     Array Size : 530048 (517.71 MiB 542.77 MB)
  Used Dev Size : 530048 (517.71 MiB 542.77 MB)
   Raid Devices : 24
  Total Devices : 2
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Thu Apr 17 16:04:44 2014
          State : active, degraded
Active Devices : 2
Working Devices : 2
Failed Devices : 0
  Spare Devices : 0

           Name : 9
           UUID : f3fef504:778f6ee6:d7d762ba:b33ba601
         Events : 27947

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
      24       8       17        1      active sync   /dev/sdb1
       4       0        0        4      removed
       6       0        0        6      removed
       8       0        0        8      removed
      10       0        0       10      removed
      12       0        0       12      removed
      14       0        0       14      removed
      16       0        0       16      removed
      18       0        0       18      removed
      20       0        0       20      removed
      22       0        0       22      removed
      24       0        0       24      removed
      26       0        0       26      removed
      28       0        0       28      removed
      30       0        0       30      removed
      32       0        0       32      removed
      34       0        0       34      removed
      36       0        0       36      removed
      38       0        0       38      removed
      40       0        0       40      removed
      42       0        0       42      removed
      44       0        0       44      removed
      46       0        0       46      removed

Kod:
[~] # mdadm -D /dev/md13
/dev/md13:
        Version : 1.0
  Creation Time : Tue Mar 18 01:19:39 2014
     Raid Level : raid1
     Array Size : 458880 (448.20 MiB 469.89 MB)
  Used Dev Size : 458880 (448.20 MiB 469.89 MB)
   Raid Devices : 24
  Total Devices : 2
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Thu Apr 17 16:02:50 2014
          State : active, degraded
Active Devices : 2
Working Devices : 2
Failed Devices : 0
  Spare Devices : 0

           Name : 13
           UUID : f573b61e:66a6d2a1:fb825a4b:82e20ea9
         Events : 1152

    Number   Major   Minor   RaidDevice State
       0       8        4        0      active sync   /dev/sda4
      24       8       20        1      active sync   /dev/sdb4
       4       0        0        4      removed
       6       0        0        6      removed
       8       0        0        8      removed
      10       0        0       10      removed
      12       0        0       12      removed
      14       0        0       14      removed
      16       0        0       16      removed
      18       0        0       18      removed
      20       0        0       20      removed
      22       0        0       22      removed
      24       0        0       24      removed
      26       0        0       26      removed
      28       0        0       28      removed
      30       0        0       30      removed
      32       0        0       32      removed
      34       0        0       34      removed
      36       0        0       36      removed
      38       0        0       38      removed
      40       0        0       40      removed
      42       0        0       42      removed
      44       0        0       44      removed
      46       0        0       46      removed

Zastanawiam się czy wogole to jest wporzadku ze pokazuje mi tam dwa dyski. Nigdy na nim nie chcialem zadnego RAID, mam dwa osobne voluminy...

Dzieki
 
Podoba mi się Twoja dedukcja, ale kwestia raidów nie jest problemem słabej wydajności.

Już wytłumaczę Ci dlaczego...

Otóż każdy dysk zainstalowany w serwerze QNAP jest podzielony na cztery partycje. Widoczna przestrzeń dla użytkownika to partycje sd?3.

Na pozostałych jest poszczególnie utworzony RAID 1, kolejno:
  • md9 dla partycji sd?1: sda1, sdb1, ...,
  • md5 dla partycji sd?2: sda2, sdb3, ...,
  • oraz np. SWAP md13 dla partycji sd?4: sda4, sdb4, ...
Na partycjach pierwszej i drugiej znajduje się zmirrorowany system oraz pliki konfiguracyjne. Wszystkie te partycję mogą być w trybie zdegradowanym, ponieważ jak zauważyłeś oczekują na przyłączenie/zainstalowanie nowych(dodatkowych) dysków, na które te dane mają zostać powielone.


Wracając do problemów prędkości...

Częste problemy:
  • Przede wszystkim upewnij się, że Twój interfejs sieciowy pracuje w trybie gigabit - pamiętaj, że niektóre interfejsy sieciowe pracujące w trybie 100mbit mogą generować takie samo obciążenie programowe co w przypadku pracy 1Gbit.
  • Jeśli serwer jest spięty z Twoim komputerem przez router (który programowo przerzuca dane pomiędzy interfejsami), to natychmiastowo odłącz ten router i zestaw komputer bezpośrednio z serwerem. W praktyce najlepiej sprawdza się zainstalowanie switcha Gigabit i wpięcie go do routera, a wszystkie inne urządzenia do tego switcha. Twoje dane będą przerzucane przez przełącznik sprzętowy, zamiast obciążać programowo procesor routera.
  • Koniecznie wyłączyć wszystkie antywirusy i firewall'e zainstalowane na sprzęcie.

Diagnostyka:
  • Zainstaluj QNAP Diagnostic Tool i za pomocą File System Analyzera dokonaj pomiaru prędkości
  • Z konsoli dokonaj pomiaru prędkości zapisu dysku twardego z włączonymi usługami:
    Bash:
    time dd if=/dev/zero of=/share/Public/2g bs=1M count=2048; time sync
    Następnie wyłącz wszystkie usługi i wykonaj ponownie:
    Bash:
    /etc/init.d/services.sh stop
    time dd if=/dev/zero of=/share/Public/2g bs=1M count=2048; time sync
    Prędkość [MB/s] = 2048 / real[seconds]
Daj znać co Ci tam wyszło...

PS. To nie Ty chciałeś kiedyś nowego rtorrenta? Jak się uporasz z prędkościami to zapraszam do testowania rtorrent [x86]
 
  • Lubię to
Reakcje: bpx03 i kaktus
Cześć Mariusz,

Dziękuję za wyczerpującą odpowiedź. Podczas spadku wydajności sprawdziłem prędkość zapisu / odczytu bezpośrednio na NAS i predkości były normalne ( > 90MB/s) pomimo tego ze upload na kompa nadal był słaby i często zrywało połączenie całkowicie.

Zmiana portu nic nie pomogła, restart "pudełka" tak. Może teraz poczekam aż znowu się problem pojawi i sprawdzę czy wszystko wroci do normy po restarcie samej samby.. Wygląda na to że raczej ona sprawia problem, lub coś co jest z nią połączone. Sprawdzę jeszcze może czy tylko połączenie między NAS na Windowsem ma problem, czy problem występuje też pomiędzy NAS a Linuxem.

PozdrawiamTemat można uznać za zamknięty. Po zainstalowaniu firmware 4.07 póki co problem nie instnieje.
Dzięki jeszcze raz za zainteresowanie.

Pozdrawiam
 
  • Lubię to
Reakcje: Silas Mariusz
Witam,

Ostatnio cieszyłem się chwiłe że problem został rozwiązay niestety, po chwili użytkowania wszystko wróciło znowu do "normy" i samba poraz kolejny ma oszałamiające prędkości transferu na poziomie 1MB/s.

Problem występuje tylko i wyłączni z samba. Gdy uzywam ftp podczas gdy samba się dławi, prędkość jest normalna. Kopiowanie z jednego dysku na drugi przez konsole też idzie standardowo pełną mocą...

Podpowiedzcie co jeszcze można zrobić z tą samba bo nawet najbardziej cierpliwego człowieka chyba potrafiłaby wyprowadzić z równowagi ;)

Pozdrawiam
 
Zgadza się, czasem w sambie mam predkosc ~100MB/s, często jednak łapie zwieche i prędkość spada do ~1MB/s przy 100% użyciu procesora. Problem tylko i wyłącznie z sambą :(
 
Hmmm. Będę strzelał z pewnym przypuszczeniem.... Używasz Transmission?

Musze Ci powiedzieć, że ostatnio natknąłem się na podobne "przytkane" gardło na SMB, które po kilkudziesięciu megabajtów sukcesywnie przyśpieszało. I było to kilka minut po pewnych eksperymentach w trakcie prac nad kolejną wersją rtorrenta. Do rtorrent'a wprowadziłem funkcję, która jest do włączenia tylko dla ekspertów.
upload_2014-5-4_0-4-39.png

(definicja _SOCK_BUF_SIZE znajduje się w opisach na zamieszczonym zdjęciu z rtorrent'a i jest niedostępna dla przeciętnego użytkownika)

Ale jak przypuszczam chłopaki w Transmission mogli bez wiedzy do skryptu uruchamiającego wklepać stałe wartości. Zobacz czy nie ma czegoś podobnego w skrypcie uruchamiającym:
Bash:
echo 4194304 > /proc/sys/net/core/rmem_max
echo 1048576 > /proc/sys/net/core/wmem_max

Ale to tylko przypuszczenie.
 
  • Lubię to
Reakcje: bpx03
Cześć Mariusz,

Strzeliłeś trafnie w obu przypadkach :) Póki co używam transmission oraz te wpisy znajdują się w pliku transmission.sh

Kod:
[/etc/init.d] # cat transmission.sh | grep _max
        echo 4194304 > /proc/sys/net/core/rmem_max
        echo 1048576 > /proc/sys/net/core/wmem_max
        ${QPKG_DIR}/bin/su -c "echo 4194304 > /proc/sys/net/core/rmem_max" - admin 2>/dev/null
        ${QPKG_DIR}/bin/su -c "echo 1048576 > /proc/sys/net/core/wmem_max" - admin 2>/dev/null

Co można zrobić z tym aby sprawdzić czy to sprawia kłopot? Lepiej skomentować całkowicie czy zwiększyć wartości?

P.s Nowy rtorrent może przenosić pliki > 4GB? :)
 
Co można zrobić z tym aby sprawdzić czy to sprawia kłopot? Lepiej skomentować całkowicie czy zwiększyć wartości?
Cztery te linie totalnie skomentuj albo wyrzuć ;) Najlepiej to całego tego Transmission wyrzuć.

Nie zapomnij zrestartować serwera przed testami.


P.s Nowy rtorrent może przenosić pliki > 4GB?
Od dawna! 3:)

Feedbacki z testów:
Odpaliłem zeszło DL 32GB UL 9,6GB. Działa bezproblemowo. pakowanie torentów przez folder podpięty w chmurze też działa więc jestem bliski porzucenia transmission :)
do you need help working on rtorrent? im a web developer with some free time.
beep if you need something.
...
(nie będe przeklejał wszystkich wiadomości z eng forum)

Jeśli chcesz spróbować zainstalować, to przeczytaj wcześniej: Download - rtorrent [x86] - Post #39
Ułatwi Ci to zrozumienie nowej koncepcji pozwalającej na tworzenie jednoczesnych bibliotek i integrację z aplikacjami zewnętrznymi. Zresztą sam zobaczysz.
 
Wygląda na to że problem został rozwiązany :) :)

Po dwóch dniach spędzonych na #samba i regularnie powtarzaniu problemu okazało się że jednak ktoś tam jest na kanale ;)

Po przestudjowaniu mojego configa smb, polecił mi dwie rzeczy:
1. Zmiana "use sendfile" na "no"
2. Wyrzucić z configa opcję max protocol = xxx, bo wtedy się sam wynegocjuje.. (mam NT1)

Po tym zabiegu prędkość idzie pełną parą, a użycie CPU spadło do ok 13% (nigdy nie widzialem mniej niż 60% napewno, bardziej koło 80%, nawet gdy chodziło szybko)

Mam nadzieję że tak już zostanie na zawszę :)
 
w00t
Maestro... Ale max protocol jest ustawiony domyślnie na wersje 1.0:
Bash:
smb2status
Kod:
smbd (samba daemon) Version 3.6.23
smbd (samba daemon) is running.
max protocol SMB 1.0 enabled.

A może majsterkowałeś i przełączyłeś kiedyś Sambe na 2.0 poleceniem smb2enable?
Kod:
Shutting down SMB services: smbd nmbd.
Shutting down winbindd services: winbindd.
max protocol SMB 2.0 ... enabled.
locks path was set to /share/HDA_DATA/.locks
Starting winbindd services:Starting SMB services:.

smbd (samba daemon) Version 3.6.23
smbd (samba daemon) is running.
max protocol SMB 2.0 enabled.
 
Możliwe że "wyklikałem" wersję 2.0 bo nowsza mi się wydała ;)
Później to już próbowałem to zrobić metodą brute-force, ale i tak od zawsze co pamiętam to użycie procka było bardzo wysokie przy odczycie...

p.s Czy Ty wogóle kiedyś śpisz? :)


edit: W sumie jakby zawsze działała dobrze to bym nic nie zmieniał...
 
Jakoś nie przekonuje mnie to rozwiązanie z dwóch powodów:
1. Cofanie się protokołem wstecz nigdy nie jest rozwiązaniem :)
2. Korzystam z smb2 na TS-509 Pro i transfer plasuje się pomiędzy 65 MB/s a 85 MB/s. Żeby było ciekawiej smb 1.0 sięga 35-55 MB/s.

Prędzej bym szukał aplikacji w systemie mającej wpływ na zwolnienie transferów SMB.

p.s Czy Ty wogóle kiedyś śpisz? :)
Jak muszę to śpię :| Ostatnio dużo rzeczy do skończenia. ;p
 
Sprawdziłem teraz dla pewności...

Zmieniłem maksymalną wersję na 2.1 ("use sendmessage = false"), prędkość odrazu spadła ~10MB/s. Wróciłem do wersji 1.0 i rozpędziło się do ~110MB/s

Może jest jakiś bug który tylko ujawnia się na moim pudełku i nie oryginalnej pamięci RAM ;)
 
1. Jakie masz odpalone aplikacje w App Center?
2. Pokaż logi z Kernela
Bash:
dmesg | tail -n 50
3. Pokaż configi które edytowałeś (smb/cifs)
4. Zainstaluj i uruchom dstat (wymagany Optware):
Bash:
ipkg install dstat
dstat --time --socket --vm --tcp --udp -cdgimnprsy --output /share/Public/dstat-log.csv
Wykonaj pomiar prędkości obu protokołów i zapamiętaj ich czasy. Otwórz w Excelu dstat-log.csv i oznacz zdarzenia testów SMB.
 
  • Lubię to
Reakcje: kaktus
Witam,
Zmuszony jestem odgrzać kotleta. Mam podobny problem TS-231. Proces smbd obciąża procesor w 49% przy połączeniu jednego użytkownika. Wyłączyłem wszystkie opcje dodatkowe - właczony jedynie photo station, radius, smb w wersji 2.1, Raid 1.Przeglądanie struktury plików minuta, otwarcie excela 50kB to 3 minuty. W logach jedyny błąd to:
EXT2-fs (mtdblock5): error: can't find an ext2 filesystem on dev mtdblock5.
Nie widzę niczego nie pokojącego ani odnośnie raid, ani stanu dysków(przeszedł testy, dyski dobrane w/g tabeli producenta). Interfejs gigabitowy.
Dla sprawdzianu postawiłem obok drugi nas ale ts-212p (konfiguracja usług jak w ts-231) i chodzi świetnie.
PS.
Sprawdziłem jeszcze raz kernel log:
<6>[ 9.153488] NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
<3>[ 9.162128] Using default values for hw ecc
<4>[ 9.169728] Bad block table not found for chip 0
<4>[ 9.177739] Bad block table not found for chip 0
<6>[ 9.182372] Scanning device for bad blocks
<4>[ 9.187522] Bad eraseblock 18 at 0x000000240000
<4>[ 9.195022] Bad eraseblock 72 at 0x000000900000
<4>[ 9.214776] Bad eraseblock 350 at 0x000002bc0000
<4>[ 9.221103] Bad eraseblock 381 at 0x000002fa0000
<4>[ 9.252111] Bad eraseblock 863 at 0x000006be0000
<4>[ 9.277860] Bad eraseblock 1249 at 0x000009c20000
<4>[ 9.297690] Bad eraseblock 1525 at 0x00000bea0000
<4>[ 9.368890] Bad eraseblock 2740 at 0x000015680000
<4>[ 9.392380] Bad eraseblock 3083 at 0x000018160000
<6>[ 9.455846] Bad block table written to 0x00001ffe0000, version 0x01
<6>[ 9.465438] Bad block table written to 0x00001ffc0000, version 0x01
<5>[ 9.471751] 5 cmdlinepart partitions found on MTD device comcertonand
Uszkodzone komórki pamieci RAM?