General NAS-Central Forums

Welcome to the NAS community
It is currently Sun Jun 25, 2017 5:30 pm

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Tue Jan 21, 2014 9:56 am 
Offline

Joined: Tue Jan 21, 2014 9:18 am
Posts: 10
Hi to everybody,

i have bought a NAS ix2-200 2 years ago. On first 6 moths i have some problem like system clock mistake and some random idle of the device. I've write many email to customer-service and try many tips. About 1 year ago my IX2 has started working fine. The transfer files is always too slow!! The ethernet device working at 10MB. Somebody know some setting or tips to improve performace during file transfer? Thanks a lot.

Update
i use IX2 only with Windows XP / Seven pcs based


Top
 Profile  
 
PostPosted: Tue Jan 21, 2014 7:12 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6001
How slow is slow? In MB/sec?


Top
 Profile  
 
PostPosted: Tue Jan 21, 2014 8:38 pm 
Offline

Joined: Tue Jan 21, 2014 9:18 am
Posts: 10
About 5/6 MB/sec


Top
 Profile  
 
PostPosted: Wed Jan 22, 2014 3:28 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6001
Do you get a higher throughput on FTP?

BTW, what do you mean with 'The ethernet device working at 10MB'? 10Mbit? In that case 5-6MB/sec is impossible, as 10Mbit can only transport 1.2MB/sec


Top
 Profile  
 
PostPosted: Wed Jan 22, 2014 6:49 pm 
Offline

Joined: Tue Jan 21, 2014 9:18 am
Posts: 10
I have same speed on FTP (5/6 Mbps). Ethernet device 10 MB: was my mistake ...i've try to ping on the ix2 ip address and TTL was equal to 64; then i think ethernet device type 10 Mbps. But this isn't true


Top
 Profile  
 
PostPosted: Thu Jan 23, 2014 9:49 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6001
Then you either have a bad disk, or something is wrong with your network. Your nas and your PC are connected to the same switch?

Can you login on your nas over ssh?


Top
 Profile  
 
PostPosted: Thu Jan 23, 2014 3:20 pm 
Offline

Joined: Tue Jan 21, 2014 9:18 am
Posts: 10
I have selected "Enable periodic data protection consistency checks" on disks settings tab but no errors are displayed. The NAS is connected on the same switch of my computers and the maximum cables lenght is 5 meters. For now i can't login via SSH because:
1) -SSH is disable
2)-i don't know how to login via SSH

Thanks


Top
 Profile  
 
PostPosted: Wed May 14, 2014 12:41 pm 
Offline
User avatar

Joined: Wed May 14, 2014 12:00 pm
Posts: 10
Location: great pacific garbage dump
jumpier wrote:
I have selected "Enable periodic data protection consistency checks" on disks settings tab but no errors are displayed. The NAS is connected on the same switch of my computers and the maximum cables length is 5 meters. For now i can't login via SSH because:
1) -SSH is disable
2)-i don't know how to login via SSH
Thanks


check the internal NAS logs at All Features / Event LOGS
afaik there is no bandwidth config item on the ix2 series only the option for Jumbo Frames.

Check your switch/hub is 1GB compatible, check your cables are CAT5e or CAT6, check your PC is set for 1GB readiness on the PC NIC. Use cable and turn off WiFi NIC of PC.

If you have multiple router/switches/hubs, locate the NAS and PC on the same switch.

Mine are slow too. My next step is 16port switch and not use router anymore. I have Fibre Web+TV service and I think my router is managed to keep TV bandwidth high and internal LAN slow.

_h


Top
 Profile  
 
PostPosted: Thu May 22, 2014 10:48 am 
Offline
User avatar

Joined: Wed May 14, 2014 12:00 pm
Posts: 10
Location: great pacific garbage dump
jumpier wrote:
I have same speed on FTP (5/6 Mbps). Ethernet device 10 MB: was my mistake ...i've try to ping on the ix2 ip address and TTL was equal to 64; then i think ethernet device type 10 Mbps. But this isn't true


check your PC LAN Card is set to Auto, or Full Duplex.
for 10Mbps or 100Mbps (Fast Ethernet)
Jumbo Frames are supported in Fast Ethernet LANs


Top
 Profile  
 
PostPosted: Sat Feb 18, 2017 5:02 pm 
Offline

Joined: Tue Jan 21, 2014 9:18 am
Posts: 10
Hi to everybody

after few years i've switch on again my ix2-200. Now all my network devices are GB speed. When i writing or reading some files to / from ix2, the network performace are very very poor. Normali 5/6 MB/sec .... some times 1.5/2 MB/sec. Now i'm able to log in via SSH; do you have some suggestions o some checks to give me?

Thanks a lot


Top
 Profile  
 
PostPosted: Fri Feb 24, 2017 9:12 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6001
You can run 'top' during a file transfer to see if the CPU is maxing out, and to see which process is causing that.
Then you can run 'dmesg' to see if the kernel reports any hardware errors.

Maybe smartctl is available, in which case you can run 'smartctl -a /dev/sda' to get the smart status of the disk.


Top
 Profile  
 
PostPosted: Sat Feb 25, 2017 3:15 pm 
Offline

Joined: Tue Jan 21, 2014 9:18 am
Posts: 10
Hi Mijzelf,

Thank you so much for your answers...
I've run "top" command during a copy of approx 40GB. I've see two process that require many cpu: the first "SMBD" (from 40% to 85% cpu usage), the second "SVCD" (from 5% to 35% cpu usage).

Smartctl is not available

I've run also "dmesg" command; i give you a copy of the log info

login as: root
root@192.168.120.254's password:
root@ix2-200-DC386F:/# dmesg
5200 mtdparts=nand_mtd:0xc0000@0x0(uboot),0x20000@0xa0000(env),0x300000@0x100000(zImage),0x300000@0x540000(initrd),128m@0x0(flash)
PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 245632KB available (4592K code, 316K data, 136K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Console: colour dummy device 80x30
Calibrating delay loop... 992.87 BogoMIPS (lpj=4964352)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
xor: measuring software checksum speed
arm4regs : 839.200 MB/sec
8regs : 684.400 MB/sec
32regs : 650.400 MB/sec
xor: using function: arm4regs (839.200 MB/sec)
NET: Registered protocol family 16
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 256MB
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB
PEX0_IO ....base f2000000, size 1MB
PEX1_MEM ....no such
PEX1_IO ....no such
INTER_REGS ....base f1000000, size 1MB
NFLASH_CS ....base fa000000, size 2MB
SPI_CS ....base f4000000, size 16MB
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size 2MB

Marvell Development Board (LSP Version KW_LSP_5.1.3_patch18)-- RD-88F6281A Soc: 88F6281 A0 LE

Detected Tclk 200000000 and SysClk 333333333
MV Buttons Device Load
Marvell USB EHCI Host controller #0: c8040740
PEX0 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
mvPexLocalBusNumSet: ERR. Invalid PEX interface 1
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
raid6: int32x1 76 MB/s
raid6: int32x2 91 MB/s
raid6: int32x4 100 MB/s
raid6: int32x8 78 MB/s
raid6: using algorithm int32x4 (100 MB/s)
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 2724K
rtc mv_rtc: rtc core: registered kw-rtc as rtc0
RTC registered
mp_lm63: device lm63 found
mp_lm63: Alert/tach pin configured for tachometer input
mp_lm63: PWM clock 1.4 kHz, output frequency 22 Hz
mp_lm63: PWM output active high, auto mode
mp_lm63: Module loaded.
cpufreq: Init kirkwood cpufreq driver
cpufreq: High frequency: 1000000KHz - Low frequency: 333333KHz
cpufreq: Setting CPU Frequency to 1000000 KHz
cpufreq: Setting PowerSaveState to off
cpufreq: Setting CPU Frequency to 1000000 KHz
cpufreq: Setting PowerSaveState to off
XOR registered 4 channels
XOR 2nd invalidate WA enabled
cesadev_init(c000ed48)
mvCesaInit: sessions=640, queue=64, pSram=f0000000
MV Buttons Driver Load
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 485
alg: No test for cipher_null (cipher_null-generic)
alg: No test for ecb(cipher_null) (ecb-cipher_null)
alg: No test for digest_null (digest_null-generic)
alg: No test for compress_null (compress_null-generic)
alg: No test for stdrng (krng)
alg: No test for hmac(digest_null) (hmac(digest_null-generic))
async_tx: api initialized (sync-only)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
Integrated Sata device found
IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
[0 0]: SATA disk found
[0 0]: Disk ready
[0 0]: Sata device ready
[0 1]: SATA disk found
[0 1]: Disk ready
[0 1]: Sata device ready
scsi 0:0:0:0: Direct-Access Hitachi HDS5C3020ALA632 ML6O PQ: 0 ANSI: 5
Linux IAL (ERROR) [0 0 0]: set device max sectors to 2048
scsi 1:0:0:0: Direct-Access Hitachi HDS5C3020ALA632 ML6O PQ: 0 ANSI: 5
Linux IAL (ERROR) [0 1 0]: set device max sectors to 2048
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
sd 0:0:0:0: [sda] 0-byte physical blocks
SAL (ERROR) 0 0 0 :Scsi command completed. pScb c44e6860, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:12 1 0 0 ff 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
SAL (ERROR) 0 0 0 :Scsi command completed. pScb c44e6860, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:12 1 0 0 ff 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
sd 1:0:0:0: [sdb] 0-byte physical blocks
SAL (ERROR) 0 1 0 :Scsi command completed. pScb c44e6860, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:12 1 0 0 ff 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 10 00
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: Attached scsi generic sg1 type 0
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
SAL (ERROR) 0 0 0 :Scsi command completed. pScb c44e6a60, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:12 1 0 0 ff 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
SAL (ERROR) 0 0 0 :Scsi command completed. pScb c44e6a60, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:12 1 0 0 ff 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
Loading Marvell Ethernet Driver:
o Cached descriptors in DRAM
o DRAM SW cache-coherency
o 2 Giga ports supported
o Single RX Queue support - ETH_DEF_RXQ=0
o Single TX Queue support - ETH_DEF_TXQ=0
o TCP segmentation offload (TSO) supported
o Receive checksum offload supported
o Transmit checksum offload supported
o Network Fast Processing (Routing) supported - (Disabled)
o Driver ERROR statistics enabled
o Driver INFO statistics enabled
o Proc tool API enabled
o SKB Reuse supported - (Disabled)
o SKB Recycle supported - (Disabled)
o Rx descripors: q0=128
o Tx descripors: q0=532
o Loading network interface(s):
o register under mv88fx_eth platform
SAL (ERROR) 0 1 0 :Scsi command completed. pScb c856df60, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:12 1 0 0 ff 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
o eth0, ifindex = 2, GbE port = 0
sda:
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 23 00 10 00
o eth1, ifindex = 3, GbE port = 1

mvFpRuleDb (c8582000): 2048 entries, 8192 bytes
Intel(R) PRO/1000 Network Driver - version 7.3.21-k3-NAPI
Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver - 1.0.2-k2
e1000e: Copyright (c) 1999-2008 Intel Corporation.
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
SAL (ERROR) 0 1 0 :Scsi command completed. pScb c85854c0, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:12 1 0 0 ff 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
SAL (ERROR) 0 1 0 :Scsi command completed. pScb c85853c0, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:12 1 0 0 ff 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
sda1 sda2
sdb:
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
SAL (ERROR) 0 0 0 :Scsi command completed. pScb c85853c0, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:12 1 0 0 ff 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
SAL (ERROR) 0 0 0 :Scsi command completed. pScb c85854c0, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:12 1 0 0 ff 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
NAND device: Manufacturer ID: 0xad, Chip ID: 0x75 (Hynix NAND 32MiB 3,3V 8-bit)
Scanning device for bad blocks
mtd: nand_mtd: partitioning exceeds flash size, truncating
4 cmdlinepart partitions found on MTD device nand_mtd
Using command line partition definition
Creating 4 MTD partitions on "nand_mtd":
0x000000000000-0x0000000c0000 : "uboot"
0x0000000a0000-0x0000000c0000 : "env"
0x000000100000-0x000000400000 : "zImage"
sd 0:0:0:0: [sda] Attached SCSI disk
0x000000540000-0x000000840000 : "initrd"
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
sdb1 sdb2
sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
SAL (ERROR) 0 1 0 :Scsi command completed. pScb c85854c0, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:12 1 0 0 ff 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
SAL (ERROR) 0 1 0 :Scsi command completed. pScb c85854c0, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:12 1 0 0 ff 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
sd 1:0:0:0: [sdb] Attached SCSI disk
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
cpufreq: Setting CPU Frequency to 1000000 KHz
cpufreq: Setting PowerSaveState to off
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc mv_rtc: setting system clock to 2017-02-25 13:50:51 UTC (1488030651)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
RAMDISK: gzip image found at block 0
usb 1-1: new high speed USB device using ehci_marvell and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 1:0.
md: md0 stopped.
md: bind<sdb1>
md: bind<sda1>
raid1: raid set md0 active with 2 out of 2 mirrors
md0: detected capacity change from 0 to 21484339200
md0: unknown partition table
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: Generic Bluetooth USB driver ver 0.5
usbcore: registered new interface driver btusb
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Bluetooth: L2CAP ver 2.13
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
ufsd: module license 'Commercial product' taints kernel.
Disabling lock debugging due to kernel taint
ufsd: driver 8.5 (Apr 16 2012 15:00:27) LBD=ON with delayalloc with ioctl loaded at bf0ae000
NTFS support included
Hfs+/HfsX support included
Built for: EMC_ix2_2
SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
Freeing init memory: 136K
eth1: link down
eth1: started
eth1: link up, full duplex, speed 1 Gbps
md: md1 stopped.
md: bind<sdb2>
md: bind<sda2>
raid1: raid set md1 active with 2 out of 2 mirrors
md1: detected capacity change from 0 to 1978914291712
md1: unknown partition table
XFS mounting filesystem dm-1
Ending clean XFS mount for filesystem: dm-1
XFS mounting filesystem dm-2
Ending clean XFS mount for filesystem: dm-2
Adding 524280k swap on /mnt/system/swapfile. Priority:-1 extents:4 across:524308k
SAL (ERROR) 0 0 0 :Scsi command completed. pScb c9fb6ea0, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:1a 0 1c 0 40 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
SAL (ERROR) 0 0 0 :Scsi command completed. pScb c9fb68a0, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:12 1 80 0 40 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
SAL (ERROR) 0 0 0 :Scsi command completed. pScb c9fb68a0, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:1a 0 19 0 40 0
SAL (ERROR) Sense Data:72 5 24 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
SAL (ERROR) mvExecuteScsiCommand: ERROR: Unsupported command 4D
SAL (ERROR) 0 0 0 :Scsi command completed. pScb c9fb68a0, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:4d 0 40 0 0 0 0 0 4 0
SAL (ERROR) Sense Data:72 5 20 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
SAL (ERROR) mvExecuteScsiCommand: ERROR: Unsupported command 37
SAL (ERROR) 0 0 0 :Scsi command completed. pScb c9fb68a0, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:37 0 c 0 0 0 0 0 4 0
SAL (ERROR) Sense Data:72 5 20 0 0 0 0 c 0 0 0 0 0 0 0 0 0 0 0 0
root@ix2-200-DC386F:/#

How do you think about the log info? Thanks a lot!!


Top
 Profile  
 
PostPosted: Sun Feb 26, 2017 1:35 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6001
40% usage for smbd while transferring at 7MB/sec is a bit much, unless it's a bunch of small files. Don't know what 'svcd' is, and Google can't tell me either. I remember the Iomega boxes have some daemon which is scanning media shares to index them. Maybe that is svcd?

Sometimes you can guess what an unknown process does by looking at inside strings. Run 'which svcd' to find the path to the binary, and then you can execute 'strings /path/to/svcd' to get a list of strings inside it.

Quote:
How do you think about the log info?
That 'SAL (ERROR)' lines shouldn't be there, and they have to do with the disks, somehow. (Sata disks are accessed through a sata-to-scsi layer).
Yet the errors are interleaved with 'normal' bootlog lines, except for last 20 lines, so if this dmesg is taken after transferring 40GB, the data access is not delayed by a lot of hardware errors.
I don't know how important that SAL errors are. It seems the kernel fails in reading some fundamental disk properties.
Quote:
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
sd 0:0:0:0: [sda] 0-byte physical blocks
For the sector size it can assume 512 bytes, which is true in at least 99.9% of the cases. (At least when this kernel was released), but there could be other properties which cannot be guessed, like maximum throughput. Don't know if sata can support anything lower than 150MB/sec, but ata can. For UDMA mode it can go as low as 25MB/sec, and in PIO mode even lower, but again, I don't know if sata disks still support older ATA modes.

Are this disks originally supplied with this NAS?

You can measure the raw read speed:
Code:
time dd if=/dev/sda of=/dev/null bs=1M count=1k
This will read 1 GB of the raw disk, and give the timing. DO NOT exchange the if (inputfile) and of (outputfile) arguments. dd will happily overwrite everything you offer as target.


Top
 Profile  
 
PostPosted: Sun Feb 26, 2017 9:12 pm 
Offline

Joined: Tue Jan 21, 2014 9:18 am
Posts: 10
Thanks

Quote:
Don't know what 'svcd' is, and Google can't tell me either


I've tryed to found "svcd" path but without success
About "svcd" ì've found this (but i can't able /don't know how to launch the command ... )

Quote:
svcd Performance Tweak

svcd is some sort of indexing service that tends to take up a lot of CPU. We can renice it though.
Since we now have access to sohoProcs.xml (see previous section), we can set the Nice level in there.
Run /opt/editconfig.sh, find the entry for svcd and add the Nice attribute:
<Program Disable="0" Name="Svcd" Path="/usr/local/svcd/svcd">
<SysOption MaxMem="96M" Nice="19" Restart="-1"/>
</Program>


This is the web link: https://n1njahacks.wordpress.com/category/nas/

Quote:
Are this disks originally supplied with this NAS?

Yes all the disks was originally supplied with ix2-200

i've measured the raw read speed as you suggest:

Code:
root@ix2-200-DC386F:/# time dd if=/dev/sda of=/dev/null bs=1M count=1k
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 39.8405 s, 27.0 MB/s

real    0m39.895s
user    0m0.000s
sys     0m4.520s
root@ix2-200-DC386F:/#


So, 27.0 MB/s is the maximum speed of my nas??

Quote:
That 'SAL (ERROR)' lines shouldn't be there, and they have to do with the disks, somehow. (Sata disks are accessed through a sata-to-scsi layer).
Yet the errors are interleaved with 'normal' bootlog lines, except for last 20 lines, so if this dmesg is taken after transferring 40GB, the data access is not delayed by a lot of hardware errors.
I don't know how important that SAL errors are. It seems the kernel fails in reading some fundamental disk properties.


If i do a reset of my nas to factory values, i will fix these "SAL ERROR"??


Top
 Profile  
 
PostPosted: Mon Feb 27, 2017 9:10 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6001
jumpier wrote:
About "svcd" ì've found this
<snip>
That's him. good catch. I don't think renicing will help a lot, but you can probably also do it manually:
Code:
renice 19 $( pidof svcd )
Hereafter 'top' should show svcd with a nice 'NI' value of 19. Don't know if it will speedup your samba throughput. But you can try.
(This will be reverted on reboot. To make it persistent, you'll have to change that sohoProcs.xml file)
You can also (partly) switch off indexing. Somewhere in the webGUI you can mark shares as media containers. (Or something like that. It's has been some time since my ix2-200 died)

Quote:
i've measured the raw read speed as you suggest:
<snip>
So, 27.0 MB/s is the maximum speed of my nas??
27MB/sec is the maximum throughput from the disk to the memory. That is to low. For a 1GHz Marvel Kirkwood I'd expect at least 50MB/sec here. Maybe 75, resulting in a real-life samba throughput of 25-40MB/sec. (For big files.)

Quote:
If i do a reset of my nas to factory values, i will fix these "SAL ERROR"??
I don't think so. They show up during the 'boot' phase. The user configurable stuff shows up later. But it won't hurt either.
It might help if you can upgrade the firmware, maybe Iomega addressed this issue in a later firmware, or downgrade to the version which was originally on the box.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group