Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 239 for Parity (0.04 sec)

  1. docs/distributed/DESIGN.md

    of common SLA here original cluster had 1024 drives with 16 drives per erasure set with default parity of '4', second pool is expected to have a minimum of 8 drives per erasure set to match the original cluster SLA (parity count) of '4'. '12' drives stripe per erasure set in the second pool satisfies the original pool's parity count.
    
    Refer to the sizing guide with details on the default parity count chosen for different erasure stripe sizes [here](https://github.com/minio/minio/blob/mas...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 8K bytes
    - Viewed (1)
  2. docs/debugging/xl-meta/main.go

    					if err != nil {
    						fmt.Println(err)
    						continue
    					}
    					if m.objSize != otherM.objSize {
    						continue
    					}
    
    					// If data+parity matches, combine.
    					if m.parity == otherM.parity && m.data == otherM.data {
    						for k, v := range m.parityData {
    							if otherM.parityData[k] == nil {
    								continue
    							}
    							for i, data := range v {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  3. cmd/fmt-gen.go

    import (
    	"encoding/json"
    	"log"
    	"os"
    	"path/filepath"
    
    	"github.com/klauspost/compress/zip"
    	"github.com/minio/cli"
    )
    
    var fmtGenFlags = []cli.Flag{
    	cli.IntFlag{
    		Name:  "parity",
    		Usage: "specify erasure code parity",
    	},
    	cli.StringFlag{
    		Name:  "deployment-id",
    		Usage: "deployment-id of the MinIO cluster for which format.json is needed",
    	},
    	cli.StringFlag{
    		Name:   "address",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. cmd/erasure-object_test.go

    	object6 := "object6"
    	metadata6 := make(map[string]string)
    	metadata6["x-amz-storage-class"] = storageclass.STANDARD
    	globalStorageClass.Update(storageclass.Config{
    		Standard: storageclass.StorageClass{
    			Parity: 4,
    		},
    		RRS: storageclass.StorageClass{
    			Parity: 2,
    		},
    	})
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  5. cmd/erasure-encode_test.go

    			}
    		}
    	}
    }
    
    // Benchmarks
    
    func benchmarkErasureEncode(data, parity, dataDown, parityDown int, size int64, b *testing.B) {
    	setup, err := newErasureTestSetup(b, data, parity, blockSizeV2)
    	if err != nil {
    		b.Fatalf("failed to create test setup: %v", err)
    	}
    	erasure, err := NewErasure(context.Background(), data, parity, blockSizeV2)
    	if err != nil {
    		b.Fatalf("failed to create ErasureStorage: %v", err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. cmd/erasure-coding.go

    func erasureSelfTest() {
    	// Approx runtime ~1ms
    	var testConfigs [][2]uint8
    	for total := uint8(4); total < 16; total++ {
    		for data := total / 2; data < total; data++ {
    			parity := total - data
    			testConfigs = append(testConfigs, [2]uint8{data, parity})
    		}
    	}
    	got := make(map[[2]uint8]map[ErasureAlgo]uint64, len(testConfigs))
    	// Copied from output of fmt.Printf("%#v", got) at the end.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. cmd/erasure-sets_test.go

    		t.Fatalf("Unable to format drives for erasure, %s", err)
    	}
    
    	ep := PoolEndpoints{Endpoints: endpoints}
    
    	parity, err := ecDrivesNoConfig(16)
    	if err != nil {
    		t.Fatalf("Unexpected error during EC drive config: %v", err)
    	}
    	if _, err := newErasureSets(ctx, ep, storageDisks, format, parity, 0); err != nil {
    		t.Fatalf("Unable to initialize erasure")
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. docs/distributed/README.md

    Refer to sizing guide for more understanding on default values chosen depending on your erasure stripe size [here](https://github.com/minio/minio/blob/master/docs/distributed/SIZING.md). Parity settings can be changed using [storage classes](https://github.com/minio/minio/tree/master/docs/erasure/storage-class).
    
    ### Consistency Guarantees
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. cmd/xl-storage-format_test.go

    	tests := []struct {
    		name   int
    		data   int
    		parity int
    		want   bool
    	}{
    		{1, 5, 6, false},
    		{2, 5, 5, true},
    		{3, 0, 5, false},
    		{3, -1, 5, false},
    		{4, 5, -1, false},
    		{5, 5, 0, true},
    		{6, 5, 0, true},
    		{7, 5, 4, true},
    	}
    	for _, tt := range tests {
    		if got := isXLMetaErasureInfoValid(tt.data, tt.parity); got != tt.want {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. cmd/erasure-encode.go

    		if n == 0 && total != 0 {
    			// Reached EOF, nothing more to be done.
    			break
    		}
    
    		// We take care of the situation where if n == 0 and total == 0 by creating empty data and parity files.
    		blocks, err = e.EncodeData(ctx, buf[:n])
    		if err != nil {
    			return 0, err
    		}
    
    		if err = writer.Write(ctx, blocks); err != nil {
    			return 0, err
    		}
    
    		total += int64(n)
    		if eof {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top