免费爱碰视频在线观看,九九精品国产屋,欧美亚洲尤物久久精品,1024在线观看视频亚洲

      如何利用wrap測試oss性能?

      前言

      我們利用mino與ceph rgw搭建好的oss經(jīng)過多層網(wǎng)絡(luò)轉(zhuǎn)發(fā),傳輸速度必定有所折損,這個時候我們使用wrap來測試oss對象存儲的真實性能。

      利用wrap測試oss性能

      wrap是minio項目下的一個開源測試工具,wrap會上傳一定隨機數(shù)據(jù)到oss對象存儲服務(wù)器上,統(tǒng)計過程消耗時間得出整個oss性能分析。

      使用docker 執(zhí)行測試

      docker pull minio/warp:v0.5.5docker run –net host minio/warp:v0.5.5 mixed –host=172.16.1.54:7480 –access-key=123456 –secret-key=123456 –autoterm

      上述命令使用warpv0.5.5對地址為172.16.1.54:7480的oss服務(wù)器進行測試。

      相關(guān)命令

      FLAGS:–no-color disable color theme–debug enable debug output–insecure disable TLS certificate verification–autocompletion install auto-completion for your shell–host value host. Multiple hosts can be specified as a comma separated list. (default: “127.0.0.1:9000”) [$WARP_HOST]–access-key value Specify access key [$WARP_ACCESS_KEY]–secret-key value Specify secret key [$WARP_SECRET_KEY]–tls Use TLS (HTTPS) for transport [$WARP_TLS]–region value Specify a custom region [$WARP_REGION]–encrypt encrypt/decrypt objects (using server-side encryption with random keys)–bucket value Bucket to use for benchmark data. ALL DATA WILL BE DELETED IN BUCKET! (default: “warp-benchmark-bucket”)–host-select value Host selection algorithm. Can be “weighed” or “roundrobin” (default: “weighed”)–concurrent value Run this many concurrent operations (default: 20)–noprefix Do not use separate prefix for each thread–prefix value Use a custom prefix for each thread–disable-multipart disable multipart uploads–md5 Add MD5 sum to uploads–storage-class value Specify custom storage class, for instance ‘STANDARD’ or ‘REDUCED_REDUNDANCY’.–objects value Number of objects to upload. (default: 2500)–obj.size value Size of each generated object. Can be a number or 10KiB/MiB/GiB. All sizes are base 2 binary. (default: “10MiB”)–get-distrib value The amount of GET operations. (default: 45)–stat-distrib value The amount of STAT operations. (default: 30)–put-distrib value The amount of PUT operations. (default: 15)–delete-distrib value The amount of DELETE operations. Must be at least the same as PUT. (default: 10)–obj.generator value Use specific data generator (default: “random”)–obj.randsize Randomize size of objects so they will be up to the specified size–benchdata value Output benchmark+profile data to this file. By default unique filename is generated.–serverprof value Run MinIO server profiling during benchmark; possible values are ‘cpu’, ‘mem’, ‘block’, ‘mutex’ and ‘trace’.–duration value Duration to run the benchmark. Use ‘s’ and ‘m’ to specify seconds and minutes. (default: 5m0s)–autoterm Auto terminate when benchmark is considered stable.–autoterm.dur value Minimum duration where output must have been stable to allow automatic termination. (default: 10s)–autoterm.pct value The percentage the last 6/25 time blocks must be within current speed to auto terminate. (default: 7.5)–noclear Do not clear bucket before or after running benchmarks. Use when running multiple clients.–syncstart value Specify a benchmark start time. Time format is ‘hh:mm’ where hours are specified in 24h format, server TZ.–warp-client value Connect to warp clients and run benchmarks there.–analyze.dur value Split analysis into durations of this length. Can be ‘1s’, ‘5s’, ‘1m’, etc.–analyze.out value Output aggregated data as to file–analyze.op value Only output for this op. Can be GET/PUT/DELETE, etc.–analyze.host value Only output for this host.–analyze.skip value Additional duration to skip when analyzing data. (default: 0s)–analyze.v Display additional analysis data.–serve value When running benchmarks open a webserver to fetch results remotely, eg: localhost:7762–help, -h show help

      結(jié)果

      Uploading 2500 objects of Random data; 4194304 bytes totalwarp: Starting benchmark in 3s…warp: Benchmark starting…Throughput 101.0 objects/s within 7.500000% for 10.262s. Assuming stability. Terminating benchmark.warp: Saving benchmark data…warp: Benchmark data written to “warp-mixed-2022-04-18[030853]-nm3V.csv.zst”Mixed operations.Operation: DELETE, 10%, Concurrency: 20, Ran 36s.* Throughput: 33.90 obj/sOperation: GET, 45%, Concurrency: 20, Ran 36s.* Throughput: 610.60 MiB/s, 152.65 obj/sOperation: PUT, 15%, Concurrency: 20, Ran 36s.* Throughput: 203.71 MiB/s, 50.93 obj/sOperation: STAT, 30%, Concurrency: 20, Ran 36s.* Throughput: 101.58 obj/sCluster Total: 813.56 MiB/s, 338.78 obj/s over 37s.

      結(jié)語

      以上就是使用wrap測試oss的其中一種辦法,你學(xué)會了嗎?希望讀者朋友看完這篇文章后有所啟發(fā)。

      鄭重聲明:本文內(nèi)容及圖片均整理自互聯(lián)網(wǎng),不代表本站立場,版權(quán)歸原作者所有,如有侵權(quán)請聯(lián)系管理員(admin#wlmqw.com)刪除。
      (0)
      用戶投稿
      上一篇 2022年6月18日 12:06
      下一篇 2022年6月18日 12:06

      相關(guān)推薦

      • 近期想換手機,可以參考這四款

        今天推薦的手機是618手機機型熱度排行榜中的,如果近期想要換手機的朋友,不妨可以參考以下四款手機。 iPhone13iPhone13是目前iPhone最新的手機之一,別的先不說,就…

        2022年6月15日
      • OPPO Pad 2代平板曝光 搭載天璣9000芯片

        最近,關(guān)于下一代安卓平板電腦的消息突然多了起來,消息稱各廠商都在準(zhǔn)備新的旗艦產(chǎn)品,會配備頂級旗艦芯片,性能更強。 博主數(shù)碼閑聊站就爆料稱,OPPO Pad 2代即將到來,并且會是首…

        2022年11月21日
      • 新的九月從換機開始 這三款旗艦機性能強悍價格不是最貴不超過4999

        馬上就是新的九月了,你換到心儀的手機了嗎?新的一月就是從換機開始,旗艦手機大家都喜歡,強悍的性能不論你是玩游戲還是處理其他事情都非常的快捷,但是昂貴的價格也讓很多人望而卻步,今天我…

        2022年9月8日
      • 白話講清楚筆記本電腦處理器,顯卡,屏幕,內(nèi)存,硬盤等配置信息

        筆記本配置必知 屏幕選擇 輕薄筆記本日常13或者14英寸就夠了,而需要買高性能的游戲本肯定是屏幕越大越好,15,6英寸是最基本的屏幕要求。 如果是專業(yè)的設(shè)計圖像處理者,對屏幕分辨率…

        2022年6月25日
      • 天璣1080怎么樣相當(dāng)于什么水平 天璣1080功耗性能介紹

        有很多用戶購買了搭載天璣1080的手機之后,好奇這款處理器的性能怎么樣,好不好用,其實這款處理器作為中檔處理器來說,性能還是非常不錯的。 天璣1080怎么樣: 答:性能不錯,功耗低…

        2022年11月22日
      • 小米12Ultra爆料匯總,7月上旬發(fā)布,雷軍:不調(diào)好不發(fā)布

        小米12Ultra在5月開啟預(yù)熱,到現(xiàn)在已經(jīng)過去一個多月時間,終于進入最后的沖刺階段。小米董事長雷軍親自承認,暫定7月上旬亮相還有半個月時間,聯(lián)合徠卡共同調(diào)教影像系統(tǒng),全球首發(fā)驍龍…

        2022年6月26日
      • 數(shù)據(jù)庫測試常見測試點

        現(xiàn)在的軟件應(yīng)用程序,已經(jīng)離不開數(shù)據(jù)庫的支持。無論是在Web應(yīng)用、桌面應(yīng)用、客戶端服務(wù)器、企業(yè)和個人業(yè)務(wù),都需要自己的數(shù)據(jù)庫在后端操作。同樣的在金融、租賃、零售、郵寄、醫(yī)療各個領(lǐng)域中…

        2022年7月25日
      • 別光盯著驍龍8+ 新旗艦游戲手機頻頻曝光,各方面都有新料

        今年上半年的游戲手機市場不溫不火,很大原因可能在于驍龍8處理器在能效方面不盡人意,這也讓很多廠商把接下來的重點放在了下半年的驍龍8+旗艦機型上。而自從高通在5月正式發(fā)布驍龍8+處理…

        2022年6月28日
      • 手機市場持續(xù)低迷,2022年前五月銷量暴跌20%

        近日,一個詞條“年輕人為什么換不動手機了”的詞條沖上熱搜。與此同時,根據(jù)信通院/Canalys公布的最新數(shù)據(jù)顯示,今年一季度,中國大陸智能手機市場的表現(xiàn)持續(xù)落后于全球市場,僅出貨7…

        2022年6月24日
      • 終極性能旗艦OPPO Reno8表現(xiàn)亮眼,前輩旗艦聞聲價崩,低價超給力

        OPPO Reno8現(xiàn)在有鳶尾紫配色可選。這種新的配色方案的靈感來自吹過鳶尾花海的微風(fēng)。通過LDI光刻工藝和多層紋理的結(jié)合,在機身后蓋上描繪出花瓣圖案。同時采用了多層紋理技術(shù),使紋…

        2022年7月24日

      聯(lián)系我們

      聯(lián)系郵箱:admin#wlmqw.com
      工作時間:周一至周五,10:30-18:30,節(jié)假日休息