maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs) (https://talk.maemo.org/showthread.php?t=38536)

STE 2010-01-30 15:59

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Hi,

I am experiencing the same problems as described by pulzar. I tried the same with ubuntu on my laptop. there the videos are smooth, so i am sure, that my wlan is not the problem. i tried playing the movies with mplyaer from the command line, its choppy too. However the -nosound option makes the video smoother, but of course this is not a sollution. So we have people here, who are not experiencing this kind of problems? Any hints appreciated.

ste

STE 2010-01-30 17:33

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
I did a test copying 50mb over wlan from the mounted drive. it took 5:21 min. it's about 5 times slower then on my laptop. What can I do?

luigi 2010-01-31 10:31

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by STE (Post 502755)
I did a test copying 50mb over wlan from the mounted drive. it took 5:21 min. it's about 5 times slower then on my laptop. What can I do?

mb = mega bit (Mb) or mega byte (MB)?

I experience the following: if I copy a file of 13107200 bytes = 100 Mb (mega bit) from my server to the N900 over WLAN with scp, it needs about 12s (repeatedly).

If I do the same using the cifs mount, it needs 31s the first time, 2.6s the second time and about 0.5s subsequent times. The latter times most likely are due to caching, as demonstrated by the following:

If I touch the file on the server before copying via cifs I get the following results: 31s, 23s, 51s, 37s, 28s.

STE 2010-01-31 11:24

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)I
 
It was 50 megabyte. what mount command did you use?did you install the packages directly from the repository? i mounted with
mount -t cifs -o username= //192.168.1.2/files /media/mnt
The comparison with scp is interesting.

ste

luigi 2010-01-31 11:39

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)I
 
Package:
kernel-module-cifs, 1.55.0-maemo1

mount command:
/bin/mount -t cifs -o user=$username,pass=$password,uid=$mapped_uid,gid= $mapped_gid "$remote_share" "$mount_point"

It seems there is quite a large spread in time it takes to copy files in the way I demonstrated using cifs.

Although I am very happy with this facility and the work done, I find the performance quite poor. Sometimes (most of the time not) browsing a samba share takes over 10s to build and finish one folder view. Photos take very long to browse through and videos aren't playing smooth. I've looked in the samba server's log and couldn't find anything suspicious.

rooted 2010-02-03 10:21

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Nathan: is TC package already updated so it automatically edits sudoers?

If not, are you planning on doing it sometime?

EDIT: Please post more speed tests using Samba/CIFS...

Nathan 2010-02-03 20:15

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by rooted (Post 508242)
Nathan: is TC package already updated so it automatically edits sudoers?

If not, are you planning on doing it sometime?

EDIT: Please post more speed tests using Samba/CIFS...

Nope -- I will try and get this done shortly. Sorry, I was offline for 5+ days do to a ice storm taking out my power...

Nathan

qwazix 2010-02-04 16:29

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
hello, i read the whole of this thread and i tried multiple ways to mount a windows xp share but I always get this message
/home/user # mount -t cifs //silent/l /media/share/
mount: mounting //silent/l on /media/share/ failed: Invalid argument
I have already installed all modules (cifs, ntfs, utf8) from the application manager. "Share" exists in media folder. Can you suggest something?
________
GandalfXXX live

luigi 2010-02-05 14:41

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by qwazix (Post 510593)
hello, i read the whole of this thread and i tried multiple ways to mount a windows xp share but I always get this message
/home/user # mount -t cifs //silent/l /media/share/
mount: mounting //silent/l on /media/share/ failed: Invalid argument
I have already installed all modules (cifs, ntfs, utf8) from the application manager. "Share" exists in media folder. Can you suggest something?

The cifs module or mount program apparently does not perform a (proper) hostname lookup. If you specify silent's ip address instead of its name (or use the ip= option), you should get better results.

qwazix 2010-02-06 01:13

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
I have already tried that. The response is the same and always instant (doesn't even seem to try to lookup) Thanx anyway though.
Any other ideas?
________
Infant Nexium


All times are GMT. The time now is 11:43.

vBulletin® Version 3.8.8