{"id":71761,"date":"2026-11-24T12:30:00","date_gmt":"2026-11-24T04:30:00","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=71761"},"modified":"2026-11-15T14:01:15","modified_gmt":"2026-11-15T06:01:15","slug":"rental-q275","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/rental-q275\/","title":{"rendered":"\u533a\u5206\u7ebf\u7a0b\u3001\u4efb\u52a1\u4e0e\u5185\u5b58\u7533\u8bf7\u5e76\u7528\u5c0f\u4efb\u52a1\u9a8c\u8bc1\u9650\u989d"},"content":{"rendered":"<p><!-- ysx-rental-campaign:rental-tutorials-400-20261114 article:rental_q275 --><\/p>\n<div class=\"ysx-rental-tutorial\">\n<figure class=\"ysx-tutorial-figure\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/rental_q275-poster-1.png?resize=1200%2C720&#038;ssl=1\" alt=\"\u5148\u5206\u6e05CPU\u3001\u4efb\u52a1\u4e0e\u5185\u5b58\u53e3\u5f84\uff1a\u786e\u8ba4\u5355\u4efb\u52a1\u8fd8\u662f\u591a\u8fdb\u7a0b\uff1b\u9009\u4e00\u79cdSlurm\u5185\u5b58\u53c2\u6570\uff1b\u7528\u5c0f\u63a2\u9488\u8bb0\u5f55\u5b9e\u9645\u5206\u914d\uff1b\u7528\u4ee3\u8868\u6d41\u7a0b\u6d4b\u5cf0\u503c\" width=\"1200\" height=\"720\" loading=\"lazy\"><figcaption>\u672c\u6587\u64cd\u4f5c\u4e0e\u68c0\u67e5\u8def\u5f84\u793a\u610f\u3002<\/figcaption><\/figure>\n<p>Slurm \u7684\u4efb\u52a1\u6570\u3001\u6bcf\u4efb\u52a1 CPU \u6570\u548c\u5185\u5b58\u8bf7\u6c42\u662f\u4e0d\u540c\u8bbe\u7f6e\u3002\u591a\u7ebf\u7a0b\u7a0b\u5e8f\u901a\u5e38\u662f\u4e00\u4e2a task \u914d\u591a\u4e2a CPU\uff0c\u5b9e\u9645\u7ebf\u7a0b\u6570\u8fd8\u8981\u7531\u8f6f\u4ef6\u53c2\u6570\u63a7\u5236\uff1b\u591a\u4e2a MPI rank \u6216\u72ec\u7acb\u8fdb\u7a0b\u5219\u6309\u7a0b\u5e8f\u542f\u52a8\u65b9\u5f0f\u5b89\u6392\u4efb\u52a1\u3002\u5355\u8fdb\u7a0b\u7a0b\u5e8f\u4e5f\u4e0d\u4f1a\u56e0\u4e3a\u7533\u8bf7\u591a\u4e2a\u8282\u70b9\u5c31\u81ea\u52a8\u83b7\u5f97\u8de8\u8282\u70b9\u5171\u4eab\u5185\u5b58\u3002<\/p>\n<h2>\u5148\u5f04\u6e05\u5185\u5b58\u53c2\u6570\u4ee3\u8868\u4ec0\u4e48<\/h2>\n<p><code>--mem<\/code> \u8868\u793a\u6bcf\u8282\u70b9\u6240\u9700\u5185\u5b58\uff0c\u9ed8\u8ba4\u5355\u4f4d\u662f MiB\uff1b<code>--mem-per-cpu<\/code> \u8868\u793a\u6bcf\u4e2a\u53ef\u7528\u5206\u914d CPU \u7684\u5185\u5b58\u3002\u4e24\u8005\u4e0e <code>--mem-per-gpu<\/code> \u4e92\u65a5\u3002CPU \u5206\u914d\u5230\u6838\u5fc3\u3001\u8d85\u7ebf\u7a0b\u6216\u6574\u8282\u70b9\u65f6\uff0c\u53ef\u7528 CPU \u6570\u53ef\u80fd\u4e0d\u540c\uff1b\u8d85\u8fc7\u7ad9\u70b9 MaxMemPerCPU \u65f6\uff0cSlurm \u8fd8\u53ef\u80fd\u8c03\u6574\u6bcf CPU \u503c\u548c cpus-per-task\u3002\u4ee5\u672c\u7ad9\u6587\u6863\u548c\u5b9e\u9645 ReqTRES\/AllocTRES \u4e3a\u51c6\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u8bbe\u7f6e<\/th>\n<th>\u63cf\u8ff0\u5bf9\u8c61<\/th>\n<th>\u5e94\u6838\u5bf9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>&#8211;ntasks<\/td>\n<td>\u8fdb\u7a0b\/\u4efb\u52a1\u6570\u91cf<\/td>\n<td>MPI\u3001srun\u6216\u72ec\u7acb\u6837\u672c\u5982\u4f55\u542f\u52a8<\/td>\n<\/tr>\n<tr>\n<td>&#8211;cpus-per-task<\/td>\n<td>\u6bcf\u4e2a\u4efb\u52a1\u83b7\u914dCPU\u6570<\/td>\n<td>\u5e94\u7528\u7ebf\u7a0b\u6570\u662f\u5426\u540c\u6b65\u8bbe\u7f6e<\/td>\n<\/tr>\n<tr>\n<td>&#8211;mem<\/td>\n<td>\u6bcf\u8282\u70b9\u5185\u5b58\u8bf7\u6c42<\/td>\n<td>\u8282\u70b9\u6570\u4e0eReqTRES\u3001AllocTRES<\/td>\n<\/tr>\n<tr>\n<td>&#8211;mem-per-cpu<\/td>\n<td>\u6bcf\u53ef\u7528\u5206\u914dCPU\u8bf7\u6c42<\/td>\n<td>CPU\u7c92\u5ea6\u548cMaxMemPerCPU<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u7528\u5c0f\u63a2\u9488\u786e\u8ba4\u4f5c\u4e1a\u770b\u5230\u4e86\u4ec0\u4e48<\/h2>\n<p>\u4e0b\u9762\u63a2\u9488\u53ea\u89e6\u78b0 8 MiB \u5185\u5b58\uff0c\u7528\u4e8e\u68c0\u67e5\u4f5c\u4e1a\u73af\u5883\u53d8\u91cf\u3001CPU \u5141\u8bb8\u96c6\u5408\u548c\u53ef\u9009\u7684 cgroup v2 \u8bfb\u6570\u3002\u5b83\u4e0d\u6d4b\u8bd5\u771f\u5b9e\u5206\u6790\u7a0b\u5e8f\u7684\u5de5\u4f5c\u96c6\uff0c\u4e5f\u4e0d\u4f1a\u6545\u610f\u89e6\u9876\u6216\u4fee\u6539\u9650\u5236\u3002\u53ea\u6709\u5728\u5bb9\u5668\/\u4f5c\u4e1a\u8def\u5f84\u5df2\u7531\u672c\u4eba\u6216\u7ba1\u7406\u5458\u6838\u5b9e\u540e\uff0c\u624d\u8bbe\u7f6e CHECKED_CGROUP\uff1b\u4e0d\u80fd\u4ece\u5bb9\u5668\u5185\u76f8\u5bf9\u8def\u5f84\u731c\u6d4b\u5bbf\u4e3b cgroup\u3002<\/p>\n<pre><code class=\"language-python\">from pathlib import Path\nimport json, os, resource\n\nreport = {'pid':os.getpid(), 'allocation':{}}\nfor key in ('SLURM_JOB_ID','SLURM_NTASKS','SLURM_CPUS_PER_TASK',\n            'SLURM_MEM_PER_NODE','SLURM_MEM_PER_CPU'):\n    report['allocation'][key] = os.environ.get(key)\nstatus = Path('\/proc\/self\/status').read_text().splitlines()\nreport['allowed'] = [line for line in status if line.startswith(\n    ('Cpus_allowed_list:','Mems_allowed_list:'))]\nreport['cgroup_membership'] = Path('\/proc\/self\/cgroup').read_text()\ncg = os.environ.get('CHECKED_CGROUP')\nreport['cgroup_values'] = {}\nif cg:\n    for name in ('memory.max','memory.current','memory.events'):\n        try: report['cgroup_values'][name] = (Path(cg)\/name).read_text()\n        except OSError as err: report['cgroup_values'][name] = {'read_error':type(err).__name__}\nelse:\n    report['cgroup_note'] = '\u672a\u63d0\u4f9b\u5df2\u6838\u5b9e\u8def\u5f84\uff0c\u4e0d\u63a8\u65ad\u4f5c\u4e1a\u9650\u989d'\nbuf = bytearray(8 * 1024 * 1024)\nfor offset in range(0, len(buf), 4096): buf[offset] = 1\nreport['touched_payload_bytes'] = len(buf)\nreport['linux_self_maxrss_kib'] = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss\nprint(json.dumps(report, indent=2))<\/code><\/pre>\n<p>\u4fdd\u5b58\u4e3a <code>quota_probe.py<\/code>\u3002\u4e0b\u4f8b\u6279\u5904\u7406\u811a\u672c\u53ea\u7533\u8bf7\u4e00\u4e2a\u8282\u70b9\u548c\u4e00\u4e2a\u4efb\u52a1\uff1b\u6bcf\u6b21\u4f5c\u4e1a\u521b\u5efa\u72ec\u7acb\u76ee\u5f55\uff0c\u4fdd\u5b58 Slurm \u7248\u672c\u3001\u4f5c\u4e1a\u8be6\u60c5\u548c\u63a2\u9488 JSON\u3002\u8fd0\u884c\u76ee\u5f55\u5e94\u4f4d\u4e8e\u8ba1\u7b97\u8282\u70b9\u53ef\u5199\u4e14\u4f5c\u4e1a\u7ed3\u675f\u540e\u4ecd\u53ef\u8bfb\u53d6\u7684\u6587\u4ef6\u7cfb\u7edf\u3002<\/p>\n<pre><code class=\"language-bash\">#!\/usr\/bin\/env bash\n#SBATCH --job-name=quota-probe\n#SBATCH --output=quota-%j.out\nset -euo pipefail\n: \"${SLURM_JOB_ID:?\u5fc5\u987b\u7531Slurm\u542f\u52a8}\"\nout=\"$PWD\/quota-probe-$SLURM_JOB_ID\"\nmkdir \"$out\"\nscontrol --version &gt; \"$out\/version.txt\"\nscontrol show job \"$SLURM_JOB_ID\" &gt; \"$out\/job.txt\"\nsrun --ntasks=1 python quota_probe.py &gt; \"$out\/probe.json\" 2&gt; \"$out\/probe.err\"\npython - \"$out\/probe.json\" &lt;&lt;'PY'\nimport json, sys\nwith open(sys.argv[1]) as source:\n    result = json.load(source)\nif result.get('touched_payload_bytes') != 8 * 1024 * 1024:\n    raise SystemExit('\u63a2\u9488\u8f7d\u8377\u68c0\u67e5\u5931\u8d25')\nPY<\/code><\/pre>\n<h2>\u7528\u4e24\u4e2a\u5c0f\u4f5c\u4e1a\u6838\u5bf9\u7533\u8bf7\u8868\u8fbe<\/h2>\n<p>\u4ee5\u4e0b\u63d0\u4ea4\u5668\u4fdd\u5b58\u4e3a <code>submit_probe.sh<\/code>\uff0c\u5728\u4e24\u79cd\u5185\u5b58\u5199\u6cd5\u4e2d\u62e9\u4e00\uff0cCPU\u3001\u8282\u70b9\u3001task \u6570\u548c\u65f6\u9650\u4fdd\u6301\u4e00\u81f4\uff1a\u6bcf\u8282\u70b9 512 MiB\uff0c\u6216\u6bcf\u53ef\u7528 CPU 256 MiB \u5e76\u7533\u8bf7 2 CPU\u3002\u5206\u522b\u8fd0\u884c <code>MODE=node PARTITION=\u672c\u7ad9\u5206\u533a bash submit_probe.sh<\/code> \u548c <code>MODE=cpu PARTITION=\u672c\u7ad9\u5206\u533a bash submit_probe.sh<\/code>\u3002\u5b83\u4eec\u5728\u7406\u60f3\u7684\u4e24 CPU \u6761\u4ef6\u4e0b\u662f\u76f8\u540c\u6570\u91cf\u7ea7\uff0c\u4e0d\u4fdd\u8bc1\u4e0d\u540c\u7ad9\u70b9\u5206\u914d\u7ed3\u679c\u5b8c\u5168\u4e00\u81f4\u3002\u5206\u522b\u63d0\u4ea4\u5e76\u7528\u4e0d\u540c JobID \u67e5\u770b <code>scontrol show job<\/code> \u4e2d\u7684\u8bf7\u6c42\u3001\u5b9e\u9645\u5206\u914d\u548c CPU \u6570\u3002<\/p>\n<pre><code class=\"language-bash\">set -euo pipefail\n: \"${MODE:?\u8bbe\u7f6enode\u6216cpu}\" \"${PARTITION:?\u672c\u7ad9\u5141\u8bb8\u7684\u5206\u533a}\"\ncase \"$MODE\" in\n  node) memory=(--mem=512M) ;;\n  cpu) memory=(--mem-per-cpu=256M) ;;\n  *) exit 2 ;;\nesac\nsbatch --partition=\"$PARTITION\" --nodes=1 --ntasks=1 \\\n  --cpus-per-task=2 --time=00:05:00 \"${memory[@]}\" quota.sbatch\n# \u5c06\u672c\u6587\u4ef6\u4fdd\u5b58\u4e3asubmit_probe.sh\uff0c\u518d\u5206\u522b\u7528MODE=node\u548cMODE=cpu\u63d0\u4ea4\u3002<\/code><\/pre>\n<p>\u5c0f\u63a2\u9488\u8fd0\u884c\u6210\u529f\u53ea\u8bf4\u660e\u8fd9\u6b21\u4f5c\u4e1a\u80fd\u542f\u52a8\u3001\u8bfb\u5230\u73af\u5883\u5e76\u5206\u914d 8 MiB\uff1b\u4e0d\u80fd\u636e\u6b64\u63a8\u65ad\u5927\u578b R\/Python \u5206\u6790\u53ef\u7528\u5185\u5b58\u6216\u96c6\u7fa4\u5982\u4f55\u5f3a\u5236\u6267\u884c\u9650\u5236\u3002Slurm \u662f\u5426\u4e25\u683c\u9650\u5236\u5185\u5b58\u53d6\u51b3\u4e8e\u7ad9\u70b9\u914d\u7f6e\u7684 enforcement \u673a\u5236\u3002\u771f\u6b63\u7684\u9884\u7b97\u8981\u7528\u4ee3\u8868\u8f93\u5165\u8fd0\u884c\u5b8c\u6574\u6d41\u7a0b\uff0c\u8bb0\u5f55\u5cf0\u503c\u3001\u5e76\u53d1\u548c\u5931\u8d25\u72b6\u6001\uff0c\u5e76\u7ed3\u5408\u8c03\u5ea6\u5668\u5206\u914d\u4e0e cgroup \u6570\u636e\u89e3\u91ca\u3002<\/p>\n<h2>\u4ece\u63a2\u9488\u8fc7\u6e21\u5230\u771f\u5b9e\u4efb\u52a1<\/h2>\n<p>\u63a2\u9488\u53ea\u7528\u4e8e\u6838\u5bf9\u4f5c\u4e1a\u662f\u5426\u542f\u52a8\u3001\u73af\u5883\u53d8\u91cf\u662f\u5426\u7b26\u5408\u9884\u671f\u4ee5\u53ca\u8fdb\u7a0b\u53ef\u89c1\u7684\u9650\u5236\u6587\u4ef6\uff0c\u4e0d\u5e94\u4ee5 8 MiB \u8bfb\u6570\u4f30\u7b97\u6d41\u7a0b\u5185\u5b58\u3002\u4e4b\u540e\u7528\u4e00\u4e2a\u4ee3\u8868\u6027\u5c0f\u6837\u672c\u8fd0\u884c\u771f\u5b9e\u5de5\u4f5c\u6d41\uff0c\u8bb0\u5f55\u5b9e\u9645\u542f\u52a8\u7ebf\u7a0b\u3001MaxRSS \u6216 cgroup \u5cf0\u503c\u3001\u8f93\u5165\u89c4\u6a21\u548c\u5b8c\u6210\u72b6\u6001\u3002\u53ea\u6709\u6210\u529f\u5b8c\u6210\u7684\u4efb\u52a1\u624d\u80fd\u63d0\u4f9b\u8be5\u8f93\u5165\u89c4\u6a21\u4e0b\u7684\u5b8c\u6574\u5cf0\u503c\u7ebf\u7d22\uff1b\u518d\u9010\u6b65\u6d4b\u8bd5\u9884\u671f\u5e76\u53d1\u3002<\/p>\n<p>Slurm \u6536\u5230\u5185\u5b58\u8bf7\u6c42\u5e76\u4e0d\u5fc5\u7136\u4ee3\u8868\u5185\u6838\u4f1a\u5f3a\u5236\u7ec8\u6b62\u8d85\u9650\u8fdb\u7a0b\uff0c\u6267\u884c\u6548\u679c\u53d6\u51b3\u4e8e\u7ad9\u70b9\u914d\u7f6e\u3002\u63a2\u9488\u770b\u5230\u7684 memory.max \u4e5f\u53ef\u80fd\u662f\u5bb9\u5668\u6216\u7236\u7ea7\u8303\u56f4\uff1b\u82e5\u4e0e\u4f5c\u4e1a\u7533\u8bf7\u4e0d\u7b26\uff0c\u4fdd\u7559\u4f5c\u4e1a\u8be6\u60c5\u548c\u8def\u5f84\uff0c\u8ba9\u7ba1\u7406\u5458\u786e\u8ba4 enforcement \u4e0e\u5c42\u7ea7\u3002\u4e0d\u8981\u5728\u5171\u4eab\u96c6\u7fa4\u901a\u8fc7\u5236\u9020 OOM \u6765\u9a8c\u8bc1\u9650\u5236\u3002<\/p>\n<p>\u5982\u679c CPU \u96c6\u5408\u6216\u5185\u5b58\u9650\u5236\u4e0e\u7533\u8bf7\u4e0d\u7b26\uff0c\u5148\u4fdd\u7559 JobID\u3001\u4f5c\u4e1a\u8be6\u60c5\u3001\u63a2\u9488\u8f93\u51fa\u548c\u5206\u533a\u4fe1\u606f\uff0c\u6838\u5bf9\u8d85\u7ebf\u7a0b\u3001MaxMemPerCPU\u3001\u5bb9\u5668\u4e0e\u7236\u7ea7 cgroup\u3002\u7f3a\u5c11\u6743\u9650\u67e5\u770b\u5bbf\u4e3b\u9650\u5236\u65f6\u8bf7\u7ba1\u7406\u5458\u786e\u8ba4\uff1b\u4e0d\u8981\u4e3a\u4e86\u201c\u6d4b\u8bd5\u9650\u989d\u201d\u8fd0\u884c\u4f1a\u89e6\u53d1 OOM \u7684\u8f7d\u8377\u3002\u5e94\u7528\u5b9e\u9645\u9700\u8981\u591a\u4e2a rank\u3001GPU \u6216\u591a\u8282\u70b9\u65f6\uff0c\u53e6\u6309\u5b83\u7684\u5e76\u884c\u6a21\u578b\u8bbe\u8ba1\u548c\u9a8c\u6536\u3002<\/p>\n<section class=\"ysx-tutorial-downloads\">\n<h2>\u4e0b\u8f7d\u7ec3\u4e60\u6750\u6599<\/h2>\n<p><a href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/rental-tutorials-400\/rental_q275\/7b7690ee96242e4e5cf5\/rental_q275.pdf\" download>\u4e0b\u8f7d\u6559\u7a0b PDF<\/a> \u00b7 <a href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/rental-tutorials-400\/rental_q275\/25d644d736b93e9887c1\/rental_q275.zip\" download>\u4e0b\u8f7d\u4ee3\u7801\u4e0e\u793a\u4f8b\u6570\u636e ZIP<\/a><\/p>\n<p>\u5148\u6838\u5bf9\u5305\u5185SHA256\u6e05\u5355\uff0c\u518d\u5728\u72ec\u7acb\u76ee\u5f55\u590d\u73b0\u3002<\/p>\n<\/section>\n<section class=\"ysx-rental-recommendation\">\n<h2>\u9700\u8981\u989d\u5916\u7b97\u529b\u65f6<\/h2>\n<p>\u9002\u7528\u524d\u63d0\uff1a\u7533\u8bf7\u8bed\u4e49\u6838\u5bf9\u540e\uff0c\u7a0b\u5e8f\u771f\u5b9e\u5185\u5b58\u9700\u6c42\u4ecd\u8d85\u8fc7\u5f53\u524d\u53ef\u5206\u914d\u8d44\u6e90\uff1bSlurm\u652f\u6301\u8303\u56f4\u987b\u53e6\u786e\u8ba4\u3002\u5982\u9700\u989d\u5916\u8d44\u6e90\uff0c\u53ef\u8bc4\u4f30\u5927\u5185\u5b58CPU\u670d\u52a1\u5668\u79df\u8d41\u3002\u54a8\u8be2\u65f6\u8bf4\u660e\u8f6f\u4ef6\u7248\u672c\u3001\u4efb\u52a1\u89c4\u6a21\u548c\u4f7f\u7528\u671f\u9650\uff0c\u914d\u7f6e\u4e0e\u652f\u6301\u8303\u56f4\u53e6\u884c\u786e\u8ba4\u3002<\/p>\n<details>\n<summary>\u54a8\u8be2\u672c\u4efb\u52a1\u7684\u670d\u52a1\u5668\u914d\u7f6e<\/summary>\n<p>    <section class=\"brtc-section\" id=\"rental-consultation\" aria-labelledby=\"brtc-title-71761\">\n    <h2 id=\"brtc-title-71761\">\u54a8\u8be2\u672c\u4efb\u52a1\u7684\u670d\u52a1\u5668\u914d\u7f6e<\/h2>\n    <p>\u7559\u4e0b\u624b\u673a\u53f7\uff0c\u6211\u4eec\u4f1a\u7ed3\u5408\u672c\u6587\u4efb\u52a1\u4e0e\u60a8\u6c9f\u901a\u670d\u52a1\u5668\u914d\u7f6e\u548c\u62a5\u4ef7\u3002<\/p>\n    <form class=\"brtc-form\" method=\"post\" action=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-admin\/admin-ajax.php\" data-article-key=\"rental_q275\">\n    <input type=\"hidden\" name=\"action\" value=\"brtc_submit\"><input type=\"hidden\" name=\"post_id\" value=\"71761\">\n    <input type=\"hidden\" name=\"article_key\" value=\"rental_q275\"><input type=\"hidden\" name=\"nonce\" value=\"eb1204a4a1\">\n    <input type=\"hidden\" name=\"request_id\" value=\"c6411d48689bc1a1d71a8f4a9cd2ffd4\"><input type=\"hidden\" name=\"first_key\" value=\"rental_q275\">\n    <label>\u624b\u673a\u53f7<input name=\"phone\" type=\"tel\" inputmode=\"numeric\" autocomplete=\"tel-national\" minlength=\"11\" maxlength=\"11\" pattern=\"1[3-9][0-9]{9}\" required placeholder=\"\u8bf7\u8f93\u516511\u4f4d\u624b\u673a\u53f7\" title=\"\u8bf7\u8f93\u5165\u6709\u6548\u768411\u4f4d\u624b\u673a\u53f7\"><\/label>\n    <div class=\"brtc-honeypot\" aria-hidden=\"true\"><label>\u7f51\u7ad9<input name=\"website\" tabindex=\"-1\" autocomplete=\"off\"><\/label><\/div>\n    <label class=\"brtc-consent\"><input type=\"checkbox\" name=\"consent\" value=\"1\" required>\u6211\u540c\u610f\u901a\u8fc7\u6b64\u624b\u673a\u53f7\u8054\u7cfb\u6211\uff0c\u6c9f\u901a\u672c\u6b21\u670d\u52a1\u5668\u914d\u7f6e\u4e0e\u79df\u8d41\u9700\u6c42\u3002<\/label>\n    <button type=\"submit\">\u63d0\u4ea4\u54a8\u8be2<\/button><p class=\"brtc-status\" role=\"status\" aria-live=\"polite\"><\/p>\n    <\/form>\n    <p class=\"brtc-alternative\">\u4e5f\u53ef<a href=\"https:\/\/work.weixin.qq.com\/kfid\/kfcb05492f29d4d6064\" data-ysx-event=\"contact_click\">\u8054\u7cfb\u4e91\u751f\u4fe1\u4f01\u4e1a\u5fae\u4fe1\u5ba2\u670d<\/a>\uff0c\u8bf4\u660e\u672c\u6587\u4efb\u52a1\u3002<\/p>\n    <\/section>\n    <\/details>\n<\/section>\n<section class=\"ysx-tutorial-references\">\n<h2>\u53c2\u8003\u4e0e\u7248\u672c\u6838\u5bf9<\/h2>\n<ul>\n<li><a href=\"https:\/\/slurm.schedmd.com\/sbatch.html\" target=\"_blank\" rel=\"noopener\">SchedMD\u5b98\u65b9sbatch\uff1amem\u3001mem-per-cpu\u548cCPU\u7c92\u5ea6\u8bed\u4e49<\/a><\/li>\n<li><a href=\"https:\/\/slurm.schedmd.com\/sacct.html\" target=\"_blank\" rel=\"noopener\">SchedMD\u5b98\u65b9sacct\uff1aReqTRES\u3001AllocTRES\u53ca\u6b65\u9aa4\u7edf\u8ba1<\/a><\/li>\n<li><a href=\"https:\/\/docs.kernel.org\/admin-guide\/cgroup-v2.html\" target=\"_blank\" rel=\"noopener\">Linux\u5185\u6838\u5b98\u65b9cgroup v2\u5185\u5b58\u9650\u5236\u5c42\u7ea7<\/a><\/li>\n<\/ul>\n<p>\u6309\u6587\u4e2d\u9002\u7528\u73af\u5883\u8fd0\u884c\uff0c\u6240\u7528\u7248\u672c\u4e0e\u53c2\u6570\u4ee5\u5b9e\u9645\u5b89\u88c5\u73af\u5883\u548c\u5bf9\u5e94\u5b98\u65b9\u6587\u6863\u4e3a\u51c6\u3002<\/p>\n<\/section>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u533a\u5206Slurm\u4efb\u52a1\u3001\u7ebf\u7a0b\u548c\u5185\u5b58\u8bf7\u6c42\u53e3\u5f84\uff0c\u75288MiB\u53ea\u8bfb\u63a2\u9488\u6838\u5bf9\u4f5c\u4e1a\u73af\u5883\uff0c\u518d\u7528\u4ee3\u8868\u6d41\u7a0b\u6d4b\u771f\u5b9e\u5cf0\u503c\u3002<\/p>\n","protected":false},"author":1,"featured_media":73015,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1,75],"tags":[1145,156],"class_list":["post-71761","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-part","category-compute-environment","tag-slurm","tag-156"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/rental_q275-poster-1.png?fit=1200%2C720&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/comments?post=71761"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71761\/revisions"}],"predecessor-version":[{"id":73016,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71761\/revisions\/73016"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/73015"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=71761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=71761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=71761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}