Windkit Li

Results 42 comments of Windkit Li

## Further Analysis ### Object Timestamp (Statistics gathered with `leofs-adm whereis` of entire key domain) | Time | Number of Entries | | --- | --- | | 11:25:16 |...

## Further Analysis (Test with Processing Time Logging) ### Preparation Processing Time is logged at `leo_gateway` and `leo_storage` to check the request flow 1. `leo_gateway` - Duration spent on put...

## Investigation To find out the root cause of the problem ## Methodology The process of storing an object in `leo_object_storage` involves two types of Disk IOs 1. Metadata Related...

## Investigation Check if the backend db is a bottleneck ### Methodology Relocate the backend DB to memory ``` bash $ mkdir /dev/shm/metadata $ ln -s /dev/shm/metadata /ssd/avs/metadata ``` ###...

After loading the 4mil image dataset, each storage node holds 2.5mil objects and metadata disk usage is around 200MB ``` $ du -sh /dev/shm/metadata 200M /dev/shm/metadata ```

@mocchira Thanks for the comment, I will test it today

## LeoFS's LevelDB Settings seem to be too conservative ### Description To begin with, I checked `eleveldb` and `leveldb` projects for clues. At [basho/leveldb](https://github.com/basho/leveldb), the team suggests settings as they...

**Max Open File: 1000, Write Buffer Size: 60MB ![1time](https://cloud.githubusercontent.com/assets/360884/21492562/343aaf70-cc49-11e6-9be0-56940294f315.png) **Max Open File: 10000, Write Buffer Size: 600MB ![10times](https://cloud.githubusercontent.com/assets/360884/21492553/1db60ea2-cc49-11e6-9ff5-c2a26f3e6aee.png) The results are similar despite of the 10x difference in parameters, there...

![fadvise](https://cloud.githubusercontent.com/assets/360884/21493444/d895be8e-cc4e-11e6-92e4-42f78ed33fc9.png) Setting the `{fadvise_willneed, true}` actually helps to overcome the IO spikes by using the fadvise hint. Yet the throttling still occurs from time to time, it is observed that...

PR for fadvise_willneed in eleveldb https://github.com/leo-project/leo_backend_db/pull/16