Skip to content

Instantly share code, notes, and snippets.

View luckypig3400's full-sized avatar
🇹🇼
Copy & Paste Engineer

郵差 luckypig3400

🇹🇼
Copy & Paste Engineer
  • NTUNHS 國北護資管系
  • Taipei , Taiwan
View GitHub Profile
@luckypig3400
luckypig3400 / ESPWebForm.ino
Created August 12, 2018 03:21 — forked from bbx10/ESPWebForm.ino
Demonstrate using an http server and an HTML form to control an LED. The http server runs on the ESP8266.
/*
* Demonstrate using an http server and an HTML form to control an LED.
* The http server runs on the ESP8266.
*
* Connect to "http://esp8266WebForm.local" or "http://<IP address>"
* to bring up an HTML form to control the LED connected GPIO#0. This works
* for the Adafruit ESP8266 HUZZAH but the LED may be on a different pin on
* other breakout boards.
*
* Imperatives to turn the LED on/off using a non-browser http client.

SSD写入优化与Chrome 自定义缓存/用户数据路径

随着大容量消费级SSD的普及,更多的用户选择使用SSD作为系统盘或程序盘 而在享受急速体验的同时,一小部分人认识到了SSD的寿命=容量*P/E次数=总可写入量 于是各种减少写入优化SSD的文章也如雨后春笋后冒了出来,虽有一定借鉴意义,可过于极端的配置却导致一定的易用性缺失 用户应该根据自己SSD的实际情况,有选择的进行优化

1. 首先了解自己SSD的容量颗粒介质可写入总量(TBW)

  • 通常SSD的总可写入量(TBW)=容量*可P/E总数,也有些厂商会标注出产品的TBW以方便用户查询
  • 对于使用SLC介质的SSD(例如Intel企业级)通常其P/E总数在100000次以上,即使64G的容量也有6250TBW的可写入量