How Chrome uses ramdisk in Ubuntu

Source: Internet
Author: User
1. Chrome's cache directory in Ubuntu is under. cache. 2, using tmpfs :( http://www.linuxidc.com/Linux/2010-06/26547p2.htm) # mounttmpfs/dev/shm-ttmpfs-osize = 32m to add to/etc/fstab, should be like this: tmpfs/dev/shmtmpfssize = 32 m

1. Chrome's cache directory in Ubuntu is under. cache.

2, using tmpfs :( http://www.linuxidc.com/Linux/2010-06/26547p2.htm)

# Mount tmpfs/dev/shm-t tmpfs-o size = 32 m

Add to/etc/fstab as follows:

Tmpfs/dev/shm tmpfs size = 32 m 0 0

3. Establish a soft connection:

Delete the original directory: sudo rm-rf ~ /. Cache/google-chrome

Establish a soft connection: sudo ln-s/dev/shm ~ /. Cache/google-chrome

In this way, the/shm directory under/dev is the chrome cache.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.