Skip to content

Commit

Permalink
FIO TPU file cache on disk
Browse files Browse the repository at this point in the history
  • Loading branch information
kislaykishore committed Dec 3, 2024
1 parent 88d9c8f commit d4c8e6d
Show file tree
Hide file tree
Showing 2 changed files with 691 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ metadata:
name: {{ .Values.podName }}
annotations:
gke-gcsfuse/volumes: "true"
gke-gcsfuse/cpu-limit: "0"
gke-gcsfuse/memory-limit: "0"
gke-gcsfuse/ephemeral-storage-limit: "0"
spec:
activeDeadlineSeconds: 5000
restartPolicy: Never
nodeSelector:
cloud.google.com/gke-tpu-topology: 2x2
Expand All @@ -35,11 +39,6 @@ spec:
resources:
limits:
google.com/tpu: 4
cpu: {{ .Values.resourceLimits.cpu }}
memory: {{ .Values.resourceLimits.memory }}
requests:
cpu: {{ .Values.resourceRequests.cpu }}
memory: {{ .Values.resourceRequests.memory }}
command:
- "/bin/sh"
- "-c"
Expand Down Expand Up @@ -169,14 +168,11 @@ spec:
mountPath: /data
volumes:
- name: gke-gcsfuse-cache
emptyDir:
medium: Memory
emptyDir: {}
- name: gke-gcsfuse-buffer
emptyDir:
medium: Memory
emptyDir: {}
- name: gke-gcsfuse-tmp
emptyDir:
medium: Memory
emptyDir: {}
- name: dshm
emptyDir:
medium: Memory
Expand All @@ -191,4 +187,4 @@ spec:
fileCacheCapacity: "{{ .Values.gcsfuse.fileCacheCapacity }}"
fileCacheForRangeRead: "true"
gcsfuseLoggingSeverity: "info"
mountOptions: implicit-dirs
mountOptions: "{{ .Values.gcsfuse.mountOptions }}"
Loading

0 comments on commit d4c8e6d

Please sign in to comment.