Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 구현
- aws
- DFS
- Vue.js
- Priority Queue
- Linked list
- Trie
- 알고리즘
- SWEA
- CSV
- JavaScript
- GitHub
- 시뮬레이션
- gpdb
- spring boot
- 알고리듬
- 모의SW역량테스트
- django
- programmers
- SQL
- Data Structure
- Algorithm
- 코딩테스트
- Bruth Force
- 코테
- BFS
- Python
- Back tracking
- boj
- hash table
Archives
- Today
- Total
hotamul의 개발 이야기
tmpfs란 무엇일까? 본문
리눅스에서 df
명령어로 파일 시스템 디스크 사용량을 확인해보면 tmpfs
라는 이름의 file system을 확인할 수 있다.
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 3.3G 26G 12% /
devtmpfs 477M 0 477M 0% /dev
tmpfs 484M 0 484M 0% /dev/shm
tmpfs 97M 904K 96M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 484M 0 484M 0% /sys/fs/cgroup
/dev/loop0 25M 25M 0 100% /snap/amazon-ssm-agent/6312
/dev/loop2 56M 56M 0 100% /snap/core18/2708
/dev/loop3 64M 64M 0 100% /snap/core20/1778
/dev/loop4 64M 64M 0 100% /snap/core20/1828
/dev/loop5 92M 92M 0 100% /snap/lxd/24061
/dev/loop6 50M 50M 0 100% /snap/snapd/17950
/dev/loop7 50M 50M 0 100% /snap/snapd/18357
/dev/xvda15 105M 6.1M 99M 6% /boot/efi
tmpfs 97M 0 97M 0% /run/user/1000
/dev/loop8 56M 56M 0 100% /snap/core18/2714
이 tmpfs
란 무엇일까?
tmpfs
tmpfs
은 Temp File System의 약자로 실제로 물리적 파일을 저장하거나 directory를 생성할 수 있는 공간이 아니다.
tmpfs
은 메모리 기반 file system으로 일반 file system의 file 읽고 쓰기 보다 속도가 월등히 빠르다. 그리고 따로 사이즈를 설정하지 않으면 메모리의 절반을 차지하고 휘발성이라는 것이 특징이다. (재부팅 하면 사라짐)
'etc.' 카테고리의 다른 글
왜 빠르게 개발하고 적용해야 할까? (0) | 2023.04.14 |
---|---|
Big data/event-driven Architecture (0) | 2023.03.17 |
cgroup으로 pids.max 제한하기 (0) | 2023.03.14 |
cgroup으로 CPU 제한하기 (1) | 2023.03.14 |
python으로 sar 명령 실행하기 (0) | 2023.03.12 |
Comments