osdir.com
mailing list archive

Subject: Re: [patch updated] Fix error about creating adirectory inRoot directory on ARM architecutre - msg#00056

List: linux.file-systems.ntfs.devel

Date: Prev Next Index Thread: Prev Next Index
On 10/26/06, zhanglinbao2000 wrote:
> My memory only has 32M , maybe it is too small for ntfs-3g to have good
> performance ,

> ---
> I am testing a case : if a directory has many many many files and sub-dirs ,
> if I copy this directory to other directory , will I successed ? at least ,
> in my hardware ,
> it will has "Transport endpoint is not connected" message and later ,I can't
> use this partition ,can't umount it from mountpoint , but I can continuously
> use other partitions in the disk (current , I use USB disk not IDE disk
> because of debugging easily ) . I think it may be caused by my small memory
> when searching its index entries when copying .
> For it , do you give some comments to me ? thanks

ntfs-3g/ntfsmount only take 2-5MB while running idle.

Of course, it has no cache at the moment, so during long operations it
may indeed need more (together with the OS) than 32MB and start
trashing (trashing is when the working set is larger than physical ram
and the system start using the swap intensively).

Your problem indeed sounds like it was generated by fuse due to the
user daemon not responding. I got similar symptoms from another fuse
filesystem some time ago. The user daemon may not respond due to
memory shortage or due to a bug.

What does top suggest? What does the debug log suggest?

> bob ,

--
Yuval Fledel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

How to test performance of file system ? specially for testing ntfs-3g and other file system such as ext2/ext3 or reiserfs and compare their performance

I want to test ntfs-3g performance on ARM architecture (ixp425) , As far as I know , in www.linux-ntfs.org ,we have announced the result of differnet file system such as ntfs-3g ,ext2/ext3, reiserfs ,and claimed that ,ntfs-3g 's speed is fastest . Can you tell me how can you test ntfs-3g or ntfsprogs and other filesystems 's performance ? thanks for reply bob, ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Next Message by Date: click to view message preview

Re: [Linux-NTFS-cvs] CVS: ntfsprogs/include/ntfs runlist.h, 1.13, 1.14

Hi Anton, - I have checked that no function outside runlist.c was using these two function. - They were marked __inline__ in runlist.c, therefore if anyone would tries to use them would get an unresolved symbol anyway. Therefore, it is safe to remove them from the header file. Motivation is double fold: - Minimize bloat. - I've recently tried to replace the implementation of the runlist handling from array-list to rb-trees. That would improve performance considerably (last profiling of large files show that runlist merge was the bottleneck, rb trees don't need a merge, you can just split a node in O(1)). I had to make a shotgun surgery because all other code relies on the internal details of the array-list (in particular, pointer arithmetic and the post last entry marker). Those two functions would be removed after the conversion anyway. Do you have any good reason to keep them? On 10/27/06, Anton Altaparmakov wrote: > Modified Files: > runlist.h > Log Message: > Revert 1.13 commit from Yuval: Gratuitous API/ABI change. > +extern int ntfs_get_nr_significant_bytes(const s64 n); > + > +extern int ntfs_write_significant_bytes(u8 *dst, const u8 *dst_max, > + const s64 n); > + -- Yuval Fledel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Previous Message by Thread: click to view message preview

Re: [patch updated] Fix error about creating adirectory inRoot directory on ARM architecutre

hello Yuval Fledel , Thanks for your reply ! First forgive me my careless ! >You now appear in the changelog of ntfsprogs as "zhanglinbao". Do you > wish to appear otherwise? What about the "CREDITS" file? --- I am very honoured to appear ! What a happy thing to do something for Open Source , and I have learn more and more things , thanks for your encouraging ! "zhanglinbao" is OK ! "zhanglinbao" is my local name , bob is my English name . haha . You can call me bob directly . I will test others your have listed about endian conversions and some other testing on ARM (ixp425) My hardware : # cat /proc/cpuinfo Processor : XScale-IXP425/IXC1100 rev 1 (v5b) BogoMIPS : 266.24 Features : swp half thumb fastmult edsp Hardware : Intel IXDP425 Development Platform Revision : 0000 Serial : 0000000000000000 # --- My memory only has 32M , maybe it is too small for ntfs-3g to have good performance , --- I am testing a case : if a directory has many many many files and sub-dirs , if I copy this directory to other directory , will I successed ? at least , in my hardware , it will has "Transport endpoint is not connected" message and later ,I can't use this partition ,can't umount it from mountpoint , but I can continuously use other partitions in the disk (current , I use USB disk not IDE disk because of debugging easily ) . I think it may be caused by my small memory when searching its index entries when copying . For it , do you give some comments to me ? thanks bob , ----- Original Message ----- From: "Yuval Fledel" <yuvalfl@xxxxxxxxx> To: "zhanglinbao2000" <zhanglinbao2000@xxxxxxx> Cc: <linux-ntfs-dev@xxxxxxxxxxxxxxxxxxxxx>; "Szakacsits Szabolcs" <szaka@xxxxxxxxx> Sent: Thursday, October 26, 2006 12:58 AM Subject: Re: [Linux-NTFS-Dev] [patch updated] Fix error about creating adirectory inRoot directory on ARM architecutre > On 10/25/06, zhanglinbao2000 <zhanglinbao2000@xxxxxxx> wrote: > > FYI: I have updated it through debugging , there is also a fault about > > endian conversion . > > > > > > Hello Szaka and Yuval , > > > > I found a coding bug : For INDEX_HEADER->allocated_size , we should use > > le32_to_cpu ,but errorly use le16_to_cpu , so ntfs-3g has problem when I > > created a directory under root directory of NTFS partition on ARM > > architecture . > > Thanks. > > I've committed the changes to ntfsprogs and updated some other places > that you did not notice. Porting it to ntfs-3g should be straight > forward (I can not commit it to -3g since there is no CVS). > > You now appear in the changelog of ntfsprogs as "zhanglinbao". Do you > wish to appear otherwise? What about the "CREDITS" file? > > btw, I'm interested in how you are choosing who to address your mails. > You greeted Szaka and me but addressed Szaka and Yura (I got the mail > from the mailing list only). Also, in the previous mail you've > addressed me although I had no previous contact with you or with -3g. > > -- > Yuval Fledel > > > diff -u -r1.30 index.c > --- libntfs/index.c 25 Sep 2006 16:58:38 -0000 1.30 > +++ libntfs/index.c 25 Oct 2006 16:47:21 -0000 > @@ -1145,7 +1145,7 @@ > if (!icx->ir) > return STATUS_ERROR; > > - icx->ir->index.allocated_size = cpu_to_le16(data_size); > + icx->ir->index.allocated_size = cpu_to_le32(data_size); > > ntfs_attr_put_search_ctx(ctx); > } else { > @@ -1246,7 +1246,7 @@ > > ntfs_log_trace("Entering.\n"); > > - new_size = le16_to_cpu(icx->ir->index.index_length) + median->length; > + new_size = le32_to_cpu(icx->ir->index.index_length) + median->length; > if (!(median->flags & INDEX_ENTRY_NODE)) > new_size += sizeof(VCN); > > @@ -1284,8 +1284,8 @@ > if (ntfs_ib_read(icx, old_vcn, ib)) > goto err_out; > > - idx_size = le16_to_cpu(ib->index.index_length); > - allocated_size = le16_to_cpu(ib->index.allocated_size); > + idx_size = le32_to_cpu(ib->index.index_length); > + allocated_size = le32_to_cpu(ib->index.allocated_size); > /* FIXME: sizeof(VCN) should be included only if ie has no VCN */ > if (idx_size + ie->length + sizeof(VCN) > allocated_size) { > err = ntfs_ib_split(icx, ib); > @@ -1385,8 +1385,8 @@ > else > ih = &icx->ib->index; > > - allocated_size = le16_to_cpu(ih->allocated_size); > - new_size = le16_to_cpu(ih->index_length) + > + allocated_size = le32_to_cpu(ih->allocated_size); > + new_size = le32_to_cpu(ih->index_length) + > le16_to_cpu(ie->length); > > if (new_size <= allocated_size) > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Next Message by Thread: click to view message preview

How to test performance of file system ? specially for testing ntfs-3g and other file system such as ext2/ext3 or reiserfs and compare their performance

I want to test ntfs-3g performance on ARM architecture (ixp425) , As far as I know , in www.linux-ntfs.org ,we have announced the result of differnet file system such as ntfs-3g ,ext2/ext3, reiserfs ,and claimed that ,ntfs-3g 's speed is fastest . Can you tell me how can you test ntfs-3g or ntfsprogs and other filesystems 's performance ? thanks for reply bob, ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by