В Linux стандартными средствами можно использовать часть оперативной памяти как диск. Для этого требуется указать тип монтирования tmpfs в команде mount
mount -t tmpfs -o size=5G tmpfs /mnt/ram
Теперь путь /mnt/ram можно использовать как обычный каталог. Для чего это может быть нужно?
▫️ Скорость работы с таким каталогом выше чем многие SSD и тем более HDD.
▫️ Если у вас очень быстрый SSD на NVMe M.2 то такой способ особо не прибавит вам скорости, но поможет сохранить ресурс SSD когда требуется обрабатывать очень много мелких файлов и оперативка позволяет выделить нужный объем.
▫️ Оперативка это энергозависимая память, поэтому выключении питания все файлы безвозвратно теряются. Такой "non persistent" каталог гарантирует удаление временных файлов.
Я написал небольшой скрипт для условного теста и сравнения скорости копирования файлов между SSD и RAM.
Вот мои результаты:
Single File Size: 30.0Gb
ssd > ssd: 0:00:12.850 / 2.3Gb/s
sdd > ram: 0:00:06.453 / 4.6Gb/s
ram > ram: 0:00:06.995 / 4.3Gb/s
ram > sdd: 0:00:06.217 / 4.8Gb/s
Dir size: 32.7Gb, File count: 11127
ssd > ssd: 0:00:15.063 / 2.2Gb/s
sdd > ram: 0:00:08.486 / 3.9Gb/s
ram > ram: 0:00:08.032 / 4.1Gb/s
ram > sdd: 0:00:07.026 / 4.7Gb/s
Скрипт для теста ↗️
На моём железе прирост скорости ~2x. Плюс экономия ресурса SSD.
В Windows такой фишки по умолчанию нет, но обязательно найдутся аналогичные решения
#linux#triks
🛎#FREESIGNAL
Make a LONG/BUY ORDER on #BTC/USDT from 80100 on Futures
Leverage - 5x - 10x - 25x - 50x
👁🗨Contact @cripexperts to enter the premium group & trade with perfect targets & stop loss levels
🚨#FREESIGNAL🚨
#BTC/USDT – LONG/BUY
📉 Entry: $92,400
📊 Leverage: 5x /10x /25x / 50x
📍Platform: Futures
🔥 This is a free trade idea — Premium members get full TP/SL levels and real-time updates!
💬 DM @cripexperts to join the Premium Group
✅ Trade smart. Trade with confidence.
🚨#FREESIGNAL🚨
#BTC/USDT – SHORT/SELL
📉 Entry: $91,350
📊 Leverage: 5x /10x /25x / 50x
📍Platform: Futures
🔥 This is a free trade idea — Premium members get full TP/SL levels and real-time updates!
💬 DM @cripexperts to join the Premium Group
✅ Trade smart. Trade with confidence.
🛎#FREESIGNAL
Make a LONG/BUY ORDER on #BTC/USDT from 80100 on Futures
Leverage - 5x - 10x - 25x - 50x
👁🗨Contact @primemod to enter the premium group & trade with perfect targets & stop loss levels
🛎#FREESIGNAL
Make a LONG/BUY ORDER on #BTC/USDT from 68640 on Futures
Leverage - 5x - 10x - 25x - 50x
👁🗨Contact @primemod to enter the premium group & trade with perfect targets & stop loss levels
🚨#FREESIGNAL🚨
#BTC/USDT – LONG/BUY
📉 Entry: $92,400
📊 Leverage: 5x /10x /25x / 50x
📍Platform: Futures
🔥 This is a free trade idea — Premium members get full TP/SL levels and real-time updates!
💬 DM @primemod to join the Premium Group
✅ Trade smart. Trade with confidence.
🚨#FREESIGNAL🚨
#BTC/USDT – SHORT/SELL
📉 Entry: $91,350
📊 Leverage: 5x /10x /25x / 50x
📍Platform: Futures
🔥 This is a free trade idea — Premium members get full TP/SL levels and real-time updates!
💬 DM @primemod to join the Premium Group
✅ Trade smart. Trade with confidence.
🔅BITCOIN Will Go Down From Resistance! Sell!📉
- - - - - - - -
Please, check our technical outlook for 📊BITCOIN.
The market is approaching a key horizontal level 78,161.73.
Considering the today's price action, probabilities will be high to see a movement to 77,165.90.
- - - - - - - -
#freesignal#bitcoin
- - - - - - - -
🌐Free Copy Trading: Link
📲Join VIP via Bot:Link
❓Official Contact:@signalprovidercontact
🔅BITCOIN Will Go Lower From Resistance! Sell!📉
- - - - - - - -
Please, check our technical outlook for 📊BITCOIN.
The market is trading around a solid horizontal structure 73,205.33.
The above observations make me that the market will inevitably achieve 68,619.32 level.
- - - - - - - -
#freesignal#bitcoin
- - - - - - - -
🌐Free Copy Trading: Link
📲Join VIP via Bot:Link
❓Official Contact:@signalprovidercontact
🔅BITCOIN Will Grow! Buy!📈
- - - - - - -
Here is our detailed technical review for 📊BITCOIN.
The market is on a crucial zone of demand 69,527.38.
The oversold market condition in a combination with key structure gives us a relatively strong bullish signal with goal 70,433.22 level.
- - - - - - - -
#freesignal#bitcoin
- - - - - - - -
🌐Free Copy Trading: Link
📲Join VIP via Bot:Link
❓Official Contact:@signalprovidercontact
🔅BITCOIN Will Go Up! Buy!📈
- - - - - - -
Here is our detailed technical review for 📊BITCOIN.
The price is testing a key support 69,833.99.
Current market trend & oversold RSI makes me think that buyers will push the price. I will anticipate a bullish movement at least to 71,850.50 level.
- - - - - - - -
#freesignal#bitcoin
- - - - - - - -
🌐Free Copy Trading: Link
📲Join VIP via Bot:Link
❓Official Contact:@signalprovidercontact
🔅BITCOIN Is Very Bearish! Sell!📉
- - - - - - - -
Please, check our technical outlook for 📊BITCOIN.
The market is trading around a solid horizontal structure 70,229.88.
The above observations make me that the market will inevitably achieve 69,008.56 level.
- - - - - - - -
#freesignal#bitcoin
- - - - - - - -
🌐Free Copy Trading: Link
📲Join VIP via Bot:Link
❓Official Contact:@signalprovidercontact