Google f1-micro (1 vCPU, 0.6 GB memory, 30GB HDD) Settings

hello and welcome to the forum,

have you tried to run rclone without gcache between gdrive and gcrypt?

rclone mount gcrypt: /mnt/GDrive -vv --daemon --allow-other --vfs-cache-mode writes

I thought about it, but I read somewhere its useful when using the mount feature.

I can go ahead and try without cache to see what happens, will update here again with results.

in all my years of using rclone mounts, never once did i use that cache.
sometimes i would use --vfs-cache-mode writes but thats it.

how much do you pay per month for the f1 micro?
how much do you pay per month for premiumize?

There are edge cases but most times no cache is better. Reddit and other places reference to use cache but that info is old.

If you want to reduce memory usage on the micro, i typically lower or set the --buffer-size to zero. I also use --use-mmap for better memory management.

Also you may just want to set a small swap file to give some cushion.

Free

free 24/7/365 year after year?

Yes. Its free. There are other 'charges' if you can avoid them like egress/ingress. If you're just using this thing to transfer from/to google drives and other google services, you'll be in the free tier.

https://cloud.google.com/free/docs/gcp-free-tier

i am curious about how much the OP pays per month for both f1-micro and premiumize, which is not free.

I do not pay for the f1-micro, I am only using it for "ingress" traffic, so only to bring data from Premiumize into GDrive.

For Premiumize I paid $90 for 15 months, which is $6 per month

Update:

So I am transferring a 54GB file now using command
rclone mount gcrypt: /mnt/GDrive -vv --daemon --allow-other --vfs-cache-mode writes --buffer-size 0 --use-mmap

However it looks like its continuously using up my disk space. I have paused the transfer as I only have 4.3GB remaining on the VPS. Should I disable --vfs-cache-mode writes?

Log:

2020/05/27 17:04:20 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "mount" "gcrypt:" "/mnt/GDrive" "-vv" "--daemon" "--allow-other" "--vfs-cache-mode" "writes" "--buffer-size" "0" "--use-mmap"]
2020/05/27 17:04:20 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2020/05/27 17:04:21 DEBUG : rclone: Version "v1.51.0" finishing with parameters ["rclone" "mount" "gcrypt:" "/mnt/GDrive" "-vv" "--daemon" "--allow-other" "--vfs-cache-mode" "writes" "--buffer-size" "0" "--use-mmap"]

It'll cache the file first.

https://rclone.org/commands/rclone_mount/#vfs-cache-mode-writes

thanks,

you might want to read this post,

i get a seedbox for $11 per month.
ubunutu
1000GB storage
rclone with mount support
plex server
vpn
and a whole lot more.

So for my use case would you recommend I set it to off or minimal? The only thing I am using the mount for is transferring files.

Can I ask why you're using a mount? You really should be using copy/move/sync. They'll work better for transfers.

Only reason I am using a mount is because I am using Premiumizer's web interface to manage my Premiumize cloud downloads.

Once a file is downloaded to my cloud I can use the interface to download it to a local folder. In this case my "local" folder is the GDrive mount.

I have used copy/move before without any problems, the only downside was that I needed to always open up a ssh shell and run the command manually. The benefit of the Premiumizer web interface is that I can do everything with just a single click. Also, I can share the web link with others and let them download into my GDrive as well.

I see. and you don't have the local diskspace to hold them. You can try without vfs-cache. I'm not sure how premiumize will act.

Looks like it works.. but it takes a few minutes for the transfer speed to ramp up, and even then its at most half of what the speed used to be. I will need to test out using vfs-cache minimal to see if there are any improvements.

On a side note, so if using cache is not useful anymore, should I be disabling even when I use a mount with Plex, or is that a situation where it can be used? I have a VPS with a pretty fast connection running my GDrive mount with Plex. It is currently using vfs-cache writes and I am using a cache remote wrapped around a gdrive remote.

I dont think there will be. The difference really is that when you're copying to the mount, its immediately transferring and so you'll need to wait for that to complete. It also won't have retries in the same way so if the transfer fails you'll need to reupload.

you don't need it for plex. That is a few year old problem. You may not even need vfs-cache-mode writes but that just depends on if/how your'e writing to it.

Ok thank you for that information. I want to thank you both for being so helpful and responding quickly to my issue.

I really do appreciate it!

1 Like

Just a small correction here. You wont need --use-mmap if you set buffers to zero as there will be nothing for it to do. So you can remove that flag.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.