matteoserva / MegaFuse

MEGA client for linux, based on FUSE
Other
248 stars 79 forks source link

using for multiple accounts #75

Open hbakhtiyor opened 7 years ago

hbakhtiyor commented 7 years ago

is it possible to use for multiple accounts of the same system?

tYYGH commented 7 years ago

I did not try, but I would say that you just have to launch MegaFuse several times, each instance with its own configuration file:

$ MegaFuse -c /path/to/first.conf &
$ MegaFuse -c /path/to/second.conf &
…
hbakhtiyor commented 7 years ago

yeah, but it's additional memory usages

tYYGH commented 7 years ago

It is, but unless you run each instance in an isolated kernel namespace, I believe there are optimisations being used, such that the overall real memory usage for the N instances is barely more than 1×(binaries+libraries) + N×data.

Unless I’m just plain wrong, this is just as good as having MegaFuse handle several accounts by itself.

See here for example: https://serverfault.com/questions/48582/how-is-memory-usage-reported-in-linux/48610#48610