speed improvement with kernel 4.2.5 / 4.3.3 / 4.6.6

Re: speed improvement with kernel 4.2.5 / 4.3.3 / 4.6.6

Postby Jocko » Mon Dec 12, 2016 8:08 pm

Hi wd9895,

it is done...
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: speed improvement with kernel 4.2.5 / 4.3.3 / 4.6.6

Postby raidsm » Mon Dec 12, 2016 11:24 pm

I installed the modules and the kernel (4.6.6 #4) and

Still unable to mount my HFS usb hd... when I do fdisk -l it says sdb2 unknown ... I also have a NTFS partition on the same disk and it mount correctly... What is the name of the module component to allow HSF?

Code: Select all
Disk /dev/sdb: 1000.1 GB, 1000170586112 bytes
255 heads, 63 sectors/track, 121597 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb1               1          26      204819+ ee EFI GPT
/dev/sdb2              26       91121   731723388  af Unknown
/dev/sdb3           91138      121581   244538716   7 HPFS/NTFS


here is the content of my module dir: (Should I have a hfs.ko/hsfplus.ko module in there? )

Code: Select all
root@NS2:/lib/modules/4.6.6 # ls
block2mtd.ko       hid-a4tech.ko     hid-samsung.ko   mv_udc.ko                udc-core.ko            usbhid.ko
bonding.ko         hid-apple.ko      hid-sony.ko      pktgen.ko                udf.ko                 usblp.ko
btrfs.ko           hid-belkin.ko     hid-sunplus.ko   pl2303.ko                u_ether.ko             usbserial.ko
cdrom.ko           hid-cherry.ko     iscsi_tcp.ko     r8712u.ko                ums-alauda.ko          usb-storage.ko
configfs.ko        hid-chicony.ko    isofs.ko         rtc-m41t80.ko            ums-datafab.ko         videobuf-core.ko
cramfs.ko          hid-cypress.ko    libcomposite.ko  rtc-pcf8563.ko           ums-freecom.ko         videobuf-vmalloc.ko
ehci-hcd.ko        hid-ezkey.ko      libiscsi.ko      scsi_transport_iscsi.ko  ums-jumpshot.ko        wire.ko
ehci-orion.ko      hid-gyration.ko   libiscsi_tcp.ko  sg.ko                    ums-sddr09.ko          xhci-hcd.ko
ehci-pci.ko        hid-logitech.ko   mdc800.ko        sisusbvga.ko             ums-sddr55.ko          xhci-pci.ko
ftdi-elan.ko       hid-microsoft.ko  michael_mic.ko   squashfs.ko              usb_f_ecm.ko           zr364xx.ko
ftdi_sio.ko        hid-monterey.ko   modules.dep      sr_mod.ko                usb_f_ecm_subset.ko
g_ether.ko         hid-petalynx.ko   modules.dep.bb   test-proc5.ko            usb_f_mass_storage.ko
g_mass_storage.ko  hid-pl.ko         mtdram.ko        tsinfo.ko                usb_f_rndis.ko


here is the version of the kernel (It can't show there it's #4 but in the information web page it shows...

Code: Select all
root@NS2:/ # uname -r
4.6.6
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm

Re: speed improvement with kernel 4.2.5 / 4.3.3 / 4.6.6

Postby Jocko » Mon Dec 12, 2016 11:44 pm

raidsm wrote:here is the content of my module dir: (Should I have a hfs.ko/hsfplus.ko module in there? )
it's not always required. It depends how the kernel has been compiled. So you need to wait fvdw.

anyhow, with version 16.1, you need to install all available patches (there is a fix about usb disk bugs)
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: speed improvement with kernel 4.2.5 / 4.3.3 / 4.6.6

Postby raidsm » Tue Dec 13, 2016 1:09 am

This is what I got with the 4.6.6 firmware GB lan on my mbp connected on my TC using Blackmagic


NS2:17W/103R in comparison I also have a asustor as3102t and got
AS3102T:108W/111R and my time capsule AC I got
TC:42W/52R
MBPro:600/650 :shocked

Why is the Write so slowwwww on the NS2?

I also did some test on a usb drive mounted and got 5Wandabout 40R not that bad... On my asustor I got 100/108
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm

Re: speed improvement with kernel 4.2.5 / 4.3.3 / 4.6.6

Postby fvdw » Tue Dec 13, 2016 8:07 pm

Hfs and hfs+ support is compiled in the kernel no need to load a module.
What happens if you do this
Code: Select all
mkdir /sdb3
mount /dev/sdb3 /sdb3
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: speed improvement with kernel 4.2.5 / 4.3.3 / 4.6.6

Postby fvdw » Tue Dec 13, 2016 8:10 pm

Write is slower then read because besides the file also file info must be stored to make reading possible. It requires more disk and cpu activity and the limited cpu power of the nwsp2 this limits the writing speed as result
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: speed improvement with kernel 4.2.5 / 4.3.3 / 4.6.6

Postby raidsm » Wed Dec 14, 2016 2:02 am

fvdw wrote:Write is slower then read because besides the file also file info must be stored to make reading possible. It requires more disk and cpu activity and the limited cpu power of the nwsp2 this limits the writing speed as result


There is a huge difference so I bought it was a bit strange....

I was also able to mount my partition. It's a bit more complicated as it is only in read only... It seems something with the journalisation is backing the write process and/or my partition need to be checked. When I try fsck my partition , I got

Code: Select all
root@NS2:/ # fsck /dev/sdb2
fsck 1.42.11 (09-Jul-2014)
fsck: fsck.hfsplus: not found
fsck: Error 2 while executing fsck.hfsplus for /dev/sdb2


So I can read but not write which is a great start... What is the reason behind the fact that the partition doesn't mount on the web interface as if does for a NTFS? (auto mount ) Is it by design?
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm

Re: speed improvement with kernel 4.2.5 / 4.3.3 / 4.6.6

Postby Jocko » Wed Dec 14, 2016 9:59 am

Hi raidsm,

Indeed a hfs+ partition is mounted ro on a linux OS (to avoid to corrupt the fs):
http://www.tuxradar.com/answers/700

There is no tool to create a hfs+ partition with fvdw-sl
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: speed improvement with kernel 4.2.5 / 4.3.3 / 4.6.6

Postby fvdw » Wed Dec 14, 2016 4:33 pm

If you disable journalling when creating the partition it can be mounted r/w

I will have a look if I can compile hfstools
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: speed improvement with kernel 4.2.5 / 4.3.3 / 4.6.6

Postby Jocko » Wed Dec 14, 2016 4:44 pm

Disable journaling on hfs+ is not always a good idea in particular on a TM partition.
I advice not to play with this settings for this data type! (backup)
http://apple.stackexchange.com/questions/7609/what-are-the-differences-between-journaling-hfs-and-non-journaling-hfs
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

PreviousNext

Return to Development

Who is online

Users browsing this forum: No registered users and 3 guests

cron